projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d3cba
)
Roo/mailer/Body.js
author
Alan Knowles
<alan@roojs.com>
Thu, 18 Sep 2014 08:58:56 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 18 Sep 2014 08:58:56 +0000
(16:58 +0800)
Roo/mailer/Body.js
patch
|
blob
|
history
diff --git
a/Roo/mailer/Body.js
b/Roo/mailer/Body.js
index
91e5562
..
47a7828
100644
(file)
--- a/
Roo/mailer/Body.js
+++ b/
Roo/mailer/Body.js
@@
-25,15
+25,15
@@
Roo.mailer = Roo.mailer || {};
Roo.mailer.Body = function(config){
Roo.mailer.Body.superclass.constructor.call(this, config);
//this.el = Roo.get(document.body);
-
-
Roo.get(document.body)
.attr({
+ var body = Roo.get(document.body);
+
body
.attr({
leftmargin : 0,
marginwidth : 0,
topmargin : 0,
marginheight : 0,
offset : 0
});
- this.onRender(
document.
body);
+ this.onRender(body);
};