Commit 462b148c authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fix start/stop hosting subscription ui.

parent e85fc201
......@@ -50,10 +50,12 @@
return RSVP.Queue()
.push(function () {
return RSVP.all([
gadget.getDeclaredGadget('form_view')
gadget.getDeclaredGadget('form_view'),
gadget.jio_get(options.jio_key)
]);
})
.push(function (result) {
options.doc = result[1];
return result[0].render({
erp5_document: {
"_embedded": {"_view": {
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.9441.34399.44800</string> </value>
<value> <string>966.29726.26723.5427</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1522141344.42</float>
<float>1522752587.64</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,10 +50,12 @@
return RSVP.Queue()
.push(function () {
return RSVP.all([
gadget.getDeclaredGadget('form_view')
gadget.getDeclaredGadget('form_view'),
gadget.jio_get(options.jio_key)
]);
})
.push(function (result) {
options.doc = result[1];
return result[0].render({
erp5_document: {
"_embedded": {"_view": {
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.9441.24521.7150</string> </value>
<value> <string>966.29726.36584.7355</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1522141353.45</float>
<float>1522752577.81</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