projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0298b4e
)
Roo/BasicDialog.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Feb 2011 05:09:07 +0000
(13:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Feb 2011 05:09:07 +0000
(13:09 +0800)
Roo/BasicDialog.js
patch
|
blob
|
history
diff --git
a/Roo/BasicDialog.js
b/Roo/BasicDialog.js
index
9c26ab7
..
e4df15e
100644
(file)
--- a/
Roo/BasicDialog.js
+++ b/
Roo/BasicDialog.js
@@
-1177,7
+1177,8
@@
Roo.LayoutDialog = function(el, cfg){
config = Roo.apply({}, el);
// not sure why we use documentElement here.. - it should always be body.
// IE7 borks horribly if we use documentElement.
config = Roo.apply({}, el);
// not sure why we use documentElement here.. - it should always be body.
// IE7 borks horribly if we use documentElement.
- el = Roo.get( Roo.isIE ? (document.body || document.documentElement) : (document.documentElement || document.body) ).createChild();
+ // webkit also does not like documentElement - it creates a body element...
+ el = Roo.get( document.body || document.documentElement ).createChild();
//config.autoCreate = true;
}
//config.autoCreate = true;
}