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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
10a9bca8
Commit
10a9bca8
authored
Jul 21, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx offline
parent
f85ad652
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
...mplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
+12
-12
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
View file @
10a9bca8
...
@@ -904,20 +904,20 @@
...
@@ -904,20 +904,20 @@
render_timestamp
:
new
Date
().
getTime
()
render_timestamp
:
new
Date
().
getTime
()
})
})
.
push
(
undefined
,
function
(
error
)
{
.
push
(
undefined
,
function
(
error
)
{
// couscous
if
(
!
navigator
.
onLine
)
{
if
(
!
navigator
.
onLine
)
{
console
.
log
(
'
not online
'
);
return
route
(
gadget
,
'
translation_gadget
'
,
'
translate
'
,
return
gadget
.
changeState
({
[
'
You are offline.
'
])
error_text
:
'
Offline
'
,
.
push
(
function
(
message
)
{
// request_error_text: request_error_text,
return
route
(
gadget
,
"
notification
"
,
'
notify
'
,
url
:
undefined
[{
"
message
"
:
message
,
"
status
"
:
"
error
"
}]);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
rJS
.
loopEventListener
(
window
,
'
online
'
,
false
,
return
rJS
.
loopEventListener
(
window
,
'
online
'
,
false
,
function
backOnline
()
{
function
backOnline
()
{
console
.
log
(
'
let reload
'
);
return
location
.
reload
();
return
gadget
.
render
(
route_result
,
keep_message
);
// return location.reload();
});
});
});
});
}
}
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
View file @
10a9bca8
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
993.3
6177.33163.46728
</string>
</value>
<value>
<string>
993.3
7256.4522.58726
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1626
796612.69
</float>
<float>
1626
860658.98
</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