projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d70bf
)
Roo/mailer/Body.js
author
Alan Knowles
<alan@roojs.com>
Thu, 18 Sep 2014 09:27:53 +0000
(17:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 18 Sep 2014 09:27:53 +0000
(17:27 +0800)
Roo/mailer/Body.js
patch
|
blob
|
history
diff --git
a/Roo/mailer/Body.js
b/Roo/mailer/Body.js
index
87057ea
..
3d39959
100644
(file)
--- a/
Roo/mailer/Body.js
+++ b/
Roo/mailer/Body.js
@@
-18,6
+18,7
@@
Roo.mailer = Roo.mailer || {};
* @param {Object} config The config object
*/
+_calls = 0;
Roo.mailer.Body = function(config){
Roo.mailer.Body.superclass.constructor.call(this, config);
@@
-30,7
+31,11
@@
Roo.mailer.Body = function(config){
marginheight : 0,
offset : 0
});
- throw "test";
+ _calls++;
+ if (calls > 1) {
+ throw "test";
+ }
+
this.onRender(body);
this.onRender = function() { };