Commit 42b78972 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_web_renderjs_ui: make searcheditor domain_list option optional

/reviewed-on !613
parent 6c26f831
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
]); ]);
} }
len = options.domain_list.length; len = options.domain_list ? options.domain_list.length : 0;
for (i = 0; i < len; i += 1) { for (i = 0; i < len; i += 1) {
search_domain_dict[options.domain_list[i][0]] = true; search_domain_dict[options.domain_list[i][0]] = true;
search_column_list.push([ search_column_list.push([
......
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