Commit 99511b31 authored by Sven Franck's avatar Sven Franck

erp5_web_renderjs_ui: correctly apply disable state to relationstringfield wrapper element

parent 3d3b77e8
......@@ -1522,6 +1522,13 @@ html body .ui-select .ui-state-readonly {\n
html body .ui-state-readonly:after {\n
content: none;\n
}\n
/* skin readonly jump, too */\n
html body .ui-state-readonly ~ .ui-btn {\n
border: 0 none;\n
-moz-box-shadow: none;\n
-webkit-box-shadow: none;\n
box-shadow: none;\n
}\n
/*\n
-------------------------------------------------------------------------\n
----------------------------- Checkbox ----------------------------------\n
......@@ -5202,7 +5209,7 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.25592.30077.20258</string> </value>
<value> <string>947.45547.56510.49527</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -5220,8 +5227,8 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
</tuple>
<state>
<tuple>
<float>1448651090.87</float>
<string>UTC</string>
<float>1449763104.45</float>
<string>GMT</string>
</tuple>
</state>
</object>
......
......@@ -462,7 +462,8 @@ promiseEventListener */\n
}\n
if (field_json.editable !== 1) {\n
input.setAttribute(\'readonly\', \'readonly\');\n
input.setAttribute(\'data-wrapper-class\', \'ui-state-readonly\');\n
field_gadget.property_dict.wrapper.className += \' ui-state-readonly \'\n
// input.setAttribute(\'data-wrapper-class\', \'ui-state-readonly\');\n
// input.setAttribute(\'disabled\', \'disabled\');\n
}\n
\n
......@@ -768,7 +769,7 @@ promiseEventListener */\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.22458.4923.43878</string> </value>
<value> <string>947.45538.456.57224</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -786,8 +787,8 @@ promiseEventListener */\n
</tuple>
<state>
<tuple>
<float>1448463051.92</float>
<string>UTC</string>
<float>1449761681.44</float>
<string>GMT</string>
</tuple>
</state>
</object>
......
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