Commit 9ef05039 authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: codeeditor: fix jio_configurator link

parent 8ef2911c
......@@ -7,7 +7,7 @@
function wrapJioCall(gadget, method_name, argument_list) {
var storage = gadget.state_parameter_dict.jio_storage;
if (storage === undefined) {
return gadget.redirect({page: "jio_configurator"});
return gadget.redirect({page: "jio_code_editor_configurator"});
}
return storage[method_name].apply(storage, argument_list)
.push(undefined, function (error) {
......
......@@ -73,14 +73,30 @@
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_jio.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>codeeditor_gadget_officejs_jio_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Script</string> </value>
</item>
<item>
<key> <string>revision</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Jio Gadget JS</string> </value>
......@@ -218,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.55463.23431.12800</string> </value>
<value> <string>956.25809.26818.60245</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -236,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1481295802.04</float>
<float>1484644952.88</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -93,7 +93,7 @@
var gadget = this;
return gadget.updateHeader({
title: "Connect To DAV Storage",
back_url: "#page=jio_configurator",
back_url: "#page=jio_code_editor_configurator",
panel_action: false
}).push(function () {
return gadget.props.deferred.resolve();
......
......@@ -73,14 +73,30 @@
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_page_jio_dav_configurator.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>codeeditor_gadget_officejs_page_jio_dav_configurator_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Script</string> </value>
</item>
<item>
<key> <string>revision</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OfficeJS jIO DAV Configurator Page JS</string> </value>
......@@ -218,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.55463.34187.48947</string> </value>
<value> <string>956.25809.26818.60245</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -236,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1481295811.83</float>
<float>1484644951.11</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -113,7 +113,7 @@
var gadget = this;
return gadget.updateHeader({
title: "Connect To ERP5 Storage",
back_url: "#page=jio_configurator",
back_url: "#page=jio_code_editor_configurator",
panel_action: false
})
.push(function () {
......
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