Commit f0795c08 authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

erp5_web_renderjs_ui: possibility of empty settings saving because empty values have sense.

parent d6b94272
......@@ -345,11 +345,9 @@
for (i = 0; i < len; i += 1) {\n
key = element_list[i].getAttribute(\'data-renderjs-configuration\');\n
value = element_list[i].textContent;\n
if (value !== "") {\n
g.props[key] = value;\n
push(key, value);\n
}\n
}\n
return queue;\n
})\n
.ready(function (g) {\n
......
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