Commit d93b332b authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Do allow modification on read only string field

parent 6fecf063
......@@ -115,6 +115,11 @@
);\n
input.setAttribute(\'name\', field_json.key);\n
input.setAttribute(\'title\', field_json.title);\n
if (field_json.editable !== 1) {\n
input.setAttribute(\'readonly\', \'readonly\');\n
input.setAttribute(\'disabled\', \'disabled\');\n
\n
}\n
})\n
\n
.declareMethod(\'getContent\', function () {\n
......
16
\ No newline at end of file
17
\ No newline at end of file
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