Commit 2ef1b300 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_officejs: Simplify dropbox redirect in bootloader

parent 0ea4f6ff
......@@ -94,10 +94,8 @@ var repair = false;
if (hash_properties.hasOwnProperty('access_token')) {
// This is a bad hack to support dropbox.
gadget.props.redirect_url.hash =
gadget.props.redirect_url.hash.replace("#", "#/?").replace(
'access_token',
'page=ojs_dropbox_configurator&access_token'
);
gadget.props.redirect_url.hash
.replace("#", "#/?page=ojs_dropbox_configurator&");
} else if (gadget.props.redirect_url.hash
.startsWith('#page=settings_configurator')) {
// Make monitoring app still compatible with old instances setup URLs
......
......@@ -61,6 +61,12 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -240,7 +246,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>983.27330.42899.26726</string> </value>
<value> <string>996.26493.30077.17766</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>1587734784.31</float>
<float>1637925065.64</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