Commit eadc32a8 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not autofocus on readOnly input

parent 89ef7b43
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
$(element).trigger("create");\n $(element).trigger("create");\n
\n \n
input = element.querySelector("input");\n input = element.querySelector("input");\n
if (input !== null) {\n if ((input !== null) && (!input.readOnly)) {\n
input.focus();\n input.focus();\n
input.select();\n input.select();\n
}\n }\n
...@@ -776,7 +776,7 @@ ...@@ -776,7 +776,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>946.35764.39446.32955</string> </value> <value> <string>946.36079.54772.16059</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -794,7 +794,7 @@ ...@@ -794,7 +794,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1445329252.77</float> <float>1445348158.92</float>
<string>GMT</string> <string>GMT</string>
</tuple> </tuple>
</state> </state>
......
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