Commit dc863abc authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Revert "fixup! erp5_web_renderjs_ui: Improve fields to propagate error_text"

This reverts commit e5c160bc.
parent e5c160bc
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
state_dict.append = "%"; state_dict.append = "%";
} }
if (!window.isNaN(state_dict.precision)) { if (!window.isNaN(state_dict.precision)) {
state_dict.step = Math.pow(10, -state_dict.precision).toFixed(state_dict.precision); state_dict.step = 1 / Math.pow(10, state_dict.precision);
state_dict.value = state_dict.value.toFixed(state_dict.precision); state_dict.value = state_dict.value.toFixed(state_dict.precision);
} }
if (!window.isNaN(state_dict.value)) { if (!window.isNaN(state_dict.value)) {
......
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