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