projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c5eac
)
[FIX] embed css loading
author
Antony Lesuisse
<al@openerp.com>
Fri, 16 Dec 2011 16:51:46 +0000
(17:51 +0100)
committer
Antony Lesuisse
<al@openerp.com>
Fri, 16 Dec 2011 16:51:46 +0000
(17:51 +0100)
bzr revid: al@openerp.com-
20111216165146
-l1eja7zgq7xhfepp
addons/web/static/src/js/chrome.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/chrome.js
b/addons/web/static/src/js/chrome.js
index
b0e304e
..
11fb360
100644
(file)
--- a/
addons/web/static/src/js/chrome.js
+++ b/
addons/web/static/src/js/chrome.js
@@
-1123,7
+1123,11
@@
openerp.web.EmbeddedClient = openerp.web.Widget.extend({
});
openerp.web.embed = function (origin, dbname, login, key, action, options) {
- // TODO insert <link rel="stylesheet" href="origin +'/web/webclient/css'"> into dom head
+ $('head').append($('<link>', {
+ 'rel': 'stylesheet',
+ 'type': 'text/css',
+ 'href': origin +'/web/webclient/css'
+ }));
var currentScript = document.currentScript;
if (!currentScript) {
var sc = document.getElementsByTagName('script');