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