Commit 76ebd46e authored by Tomáš Peterka's avatar Tomáš Peterka

[renderjs_ui] Form - empty hash is a change too (initialize to undefined)

parent 617457e1
......@@ -149,7 +149,9 @@
rJS(window)
.ready(function (g) {
g.props = {};
g.props = {
gadget_list: [] // holds references to all subgadgets to be able to grab their content on submit
};
})
.setState({
......@@ -160,7 +162,7 @@
form_definition: undefined,
view: undefined, // Kato: still have no idea what that means
// hash is used to spot changes in positioning of fields
hash: "",
hash: undefined,
// attributes of the form - no magic there
title: undefined,
editable: undefined
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.17824.16764.21521</string> </value>
<value> <string>961.18921.65523.7867</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1502198463.15</float>
<float>1502264377.31</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