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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
b88ea7b1
Commit
b88ea7b1
authored
Feb 15, 2023
by
Rafael Monnerat
Committed by
Thomas Gambier
Feb 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_js_style: Fixup an issue with the google cache
By Romain
parent
1d5d2f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
...plateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
+3
-1
No files found.
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
View file @
b88ea7b1
...
...
@@ -453,6 +453,7 @@
if
(
style_css_url
===
null
)
{
// Compatibility with old html format (like in google cache)
gadget
.
element
.
innerHTML
=
parsed_content
.
original_content
;
showPage
();
return
;
}
return
new
RSVP
.
Queue
(
rJS
.
declareCSS
(
style_css_url
,
document
.
head
))
...
...
@@ -460,6 +461,7 @@
// Set again the page content after the css is loaded
// to prevent ugly rendering
gadget
.
element
.
innerHTML
=
parsed_content
.
original_content
;
showPage
();
});
});
});
...
...
@@ -473,4 +475,4 @@
hidePage
();
}(
window
,
document
,
RSVP
,
rJS
,
XMLHttpRequest
,
URL
,
rJS
.
loopEventListener
,
history
,
console
));
\ No newline at end of file
rJS
.
loopEventListener
,
history
,
console
));
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