Commit a06e1342 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_only_office] remote_settings.js fix

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