Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
2ef1b300
Commit
2ef1b300
authored
Nov 26, 2021
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: Simplify dropbox redirect in bootloader
parent
0ea4f6ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+2
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
...ateItem/web_page_module/gadget_officejs_bootloader_js.xml
+8
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
2ef1b300
...
@@ -94,10 +94,8 @@ var repair = false;
...
@@ -94,10 +94,8 @@ var repair = false;
if
(
hash_properties
.
hasOwnProperty
(
'
access_token
'
))
{
if
(
hash_properties
.
hasOwnProperty
(
'
access_token
'
))
{
// This is a bad hack to support dropbox.
// This is a bad hack to support dropbox.
gadget
.
props
.
redirect_url
.
hash
=
gadget
.
props
.
redirect_url
.
hash
=
gadget
.
props
.
redirect_url
.
hash
.
replace
(
"
#
"
,
"
#/?
"
).
replace
(
gadget
.
props
.
redirect_url
.
hash
'
access_token
'
,
.
replace
(
"
#
"
,
"
#/?page=ojs_dropbox_configurator&
"
);
'
page=ojs_dropbox_configurator&access_token
'
);
}
else
if
(
gadget
.
props
.
redirect_url
.
hash
}
else
if
(
gadget
.
props
.
redirect_url
.
hash
.
startsWith
(
'
#page=settings_configurator
'
))
{
.
startsWith
(
'
#page=settings_configurator
'
))
{
// Make monitoring app still compatible with old instances setup URLs
// Make monitoring app still compatible with old instances setup URLs
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
2ef1b300
...
@@ -61,6 +61,12 @@
...
@@ -61,6 +61,12 @@
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
content_md5
</string>
</key>
<value>
<value>
...
@@ -240,7 +246,7 @@
...
@@ -240,7 +246,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
83.27330.42899.2672
6
</string>
</value>
<value>
<string>
9
96.26493.30077.1776
6
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +264,7 @@
...
@@ -258,7 +264,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
587734784.31
</float>
<float>
1
637925065.64
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment