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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
d02269e0
Commit
d02269e0
authored
Apr 07, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: fixup activity watcher
See
ed0c1297
parent
54929d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_activity_watcher.js.js
...Item/portal_skins/erp5_core/gadget_activity_watcher.js.js
+6
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_activity_watcher.js.js
View file @
d02269e0
...
...
@@ -127,8 +127,12 @@
//Exception is raised if network is lost for some reasons,
//in this case, try patiently until network is back.
console
.
warn
(
"
Unable to fetch activities from ERP5
"
,
error
);
form_gadget
.
element
.
querySelector
(
"
.activity_watcher_gadget
"
)
.
textContent
=
"
Unable to fetch activities from ERP5
"
;
return
form_gadget
.
getDeclaredGadget
(
'
html_viewer
'
)
.
push
(
function
(
html_viewer
)
{
return
html_viewer
.
render
({
value
:
"
Unable to fetch activities from ERP5
"
});
});
});
},
1000
);
...
...
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