Commit b5a0e5de authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Redirecting is not blocking anymore

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