Commit dda7b27e authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Include return (selection_url) on start/stop/destroy hosting subscription forms.

parent 44b63122
......@@ -110,8 +110,14 @@
});
})
.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'history_previous'})
]);
})
.push(function (url_list) {
return gadget.updateHeader({
page_title: "Destroy Hosting Subscription: " + options.doc.title,
selection_url: url_list[0],
submit_action: true
});
});
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.64411.29832.14557</string> </value>
<value> <string>965.64412.55419.5376</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1520290370.68</float>
<float>1522141323.61</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -85,8 +85,14 @@
});
})
.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'history_previous'})
]);
})
.push(function (url_list) {
return gadget.updateHeader({
page_title: "Start Hosting Subscription",
page_title: "Start Hosting Subscription: " + options.doc.title,
selection_url: url_list[0],
submit_action: true
});
});
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.1641.10361.49971</string> </value>
<value> <string>963.9441.34399.44800</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1509473371.42</float>
<float>1522141344.42</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -85,8 +85,14 @@
});
})
.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'history_previous'})
]);
})
.push(function (url_list) {
return gadget.updateHeader({
page_title: "Stop Hosting Subscription",
page_title: "Destroy Hosting Subscription: " + options.doc.title,
selection_url: url_list[0],
submit_action: true
});
});
......
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.1641.10361.49971</string> </value>
<value> <string>963.9441.24521.7150</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1509473362.4</float>
<float>1522141353.45</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