Commit 2a6bcfab authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Improve MultiRelationField gadget readonly rendering

parent a2358c0e
...@@ -287,7 +287,7 @@ promiseEventListener */\n ...@@ -287,7 +287,7 @@ promiseEventListener */\n
input.setAttribute(\'name\', "sub" + field_json.key + "_" + i);\n input.setAttribute(\'name\', "sub" + field_json.key + "_" + i);\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 div_input.className += \' ui-state-readonly \';\n
}\n }\n
if (field_json.allow_jump && allow_jump) {\n if (field_json.allow_jump && allow_jump) {\n
return new RSVP.Queue()\n return new RSVP.Queue()\n
...@@ -679,7 +679,7 @@ promiseEventListener */\n ...@@ -679,7 +679,7 @@ promiseEventListener */\n
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>romain</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -693,7 +693,7 @@ promiseEventListener */\n ...@@ -693,7 +693,7 @@ promiseEventListener */\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>945.52745.24179.54220</string> </value> <value> <string>948.41913.14733.35481</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -711,8 +711,8 @@ promiseEventListener */\n ...@@ -711,8 +711,8 @@ promiseEventListener */\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1444984956.18</float> <float>1453478150.45</float>
<string>GMT</string> <string>UTC</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