* @param {Object} config The config object
*/
-_calls = 0;
+
Roo.mailer.Body = function(config){
Roo.mailer.Body.superclass.constructor.call(this, config);
marginheight : 0,
offset : 0
});
- _calls++;
- if (_calls > 1) {
+ Roo.mailer.Body._calls++;
+ if (Roo.mailer.Body._calls > 1) {
+ return;
throw "test";
}
};
+Roo.mailer.Body._calls = 0;
+
Roo.extend(Roo.mailer.Body, Roo.bootstrap.Component, {
},
addxtype : function (tree, cntr)
{
- this.addxtypeChild(tree,ntr);
+ return this.addxtypeChild(tree,cntr);
}