Commit 938aad0a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: invoke form validation during service phase.

this will expose default values which are wrongly inputed.
parent 8fbb94a4
...@@ -688,6 +688,10 @@ ...@@ -688,6 +688,10 @@
})\n })\n
.declareService(function () {\n .declareService(function () {\n
return loadEventList(this);\n return loadEventList(this);\n
})\n
.declareService(function () {\n
var g = this;\n
return g.processValidation(g.options.json_url);\n
});\n });\n
\n \n
}(window, document, rJS, loopEventListener, $, XMLSerializer, jQuery, vkbeautify)); }(window, document, rJS, loopEventListener, $, XMLSerializer, jQuery, vkbeautify));
...@@ -827,7 +831,7 @@ ...@@ -827,7 +831,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>941.57620.30931.17305</string> </value> <value> <string>941.57622.23194.30685</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -845,7 +849,7 @@ ...@@ -845,7 +849,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1427239101.19</float> <float>1427275105.86</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