Commit a06e1342 by Boris Kocherov

[erp5_only_office] remote_settings.js fix

1 parent f8946b13
......@@ -24,7 +24,7 @@
function xmla_request_retry(func, settings) {
var queue,
urls = settings.urls,
urls = settings.urls || [""],
i;
function make_request(url) {
......@@ -47,7 +47,7 @@
}
queue = make_request(urls[0])();
for (i = 1; i < settings.urls.length; i += 1) {
for (i = 1; i < urls.length; i += 1) {
queue.push(undefined, make_request(urls[i]));
}
return queue;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!