Commit 721fcfee authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[renderjs_ui] MatrixBox uses "default" instead of "value" for sub-gadgets

parent 10f9b012
......@@ -208,7 +208,7 @@
// we copy (unknown) structure of template_field and carefully
// add known attributes from `column`
field_json.value = column.value;
field_json.default = column.value;
field_json.key = "field_" + column.key;
field_json.hidden = gadget.state.hidden || template_field.hidden; // any hidden will hide the element
field_json.editable = gadget.state.editable && template_field.editable; // any non-editable will disable editation
......
......@@ -105,7 +105,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ERP5 Matrixbox Field HTML</string> </value>
<value> <string>Gadget ERP5 Matrixbox Field JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.46727.895.52189</string> </value>
<value> <string>962.13951.51856.38229</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1504008626.15</float>
<float>1505898245.04</float>
<string>UTC</string>
</tuple>
</state>
......
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