Commit d0dfd319 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Redirecting is not blocking anymore

parent 4ca96ffc
......@@ -494,7 +494,11 @@
return gadget.props.jio_gadget.get(history.options_id);
})
.push(function (result) {
return [result, previous_id];
var result_list = [result, previous_id];
var options = result_list[0].data,
next_jio_key = options.jio_key;
delete options.jio_key;
return addNavigationHistoryAndDisplay(gadget, next_jio_key, options);
}, function (error) {
// XXX Check if 404
if ((error instanceof jIO.util.jIOError) &&
......@@ -503,12 +507,6 @@
// return [{data: {}}, undefined];
}
throw error;
})
.push(function (result_list) {
var options = result_list[0].data,
next_jio_key = options.jio_key;
delete options.jio_key;
return addNavigationHistoryAndDisplay(gadget, next_jio_key, options);
});
return queue;
}
......
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>954.23085.57259.2628</string> </value>
<value> <string>954.23087.8752.52155</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1475507467.96</float>
<float>1475662389.14</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