Commit b88ea7b1 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Thomas Gambier

erp5_web_js_style: Fixup an issue with the google cache

   By Romain
parent 1d5d2f69
......@@ -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();
});
});
});
......
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