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