Commit 8bc78edf authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

erp5_officejs: Remove unecessary redirection from router

parent b2f24083
......@@ -100,12 +100,6 @@
} else {
args.page = "jio_dropbox_configurator";
}
return this.getCommandUrlFor({"page": args.page,
"token": args.access_token})
.push(function (hash) {
window.location.replace(hash);
return RSVP.timeout(REDIRECT_TIMEOUT);
});
}
if (args.jio_key === undefined || args.jio_key === '') {
if (args.page === undefined || args.page === '' || args.page === "document_list") {
......
......@@ -222,7 +222,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>cedric.le.ninivin</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.12474.59711.2781</string> </value>
<value> <string>960.63406.54395.15752</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1498033186.77</float>
<float>1501009452.42</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