projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix css for date
[roojs1]
/
roojs-mailer-debug.js
diff --git
a/roojs-mailer-debug.js
b/roojs-mailer-debug.js
index
c0e560e
..
6b172f9
100644
(file)
--- a/
roojs-mailer-debug.js
+++ b/
roojs-mailer-debug.js
@@
-18,7
+18,7
@@
Roo.mailer = Roo.mailer || {};
* @param {Object} config The config object
*/
* @param {Object} config The config object
*/
-_calls = 0;
+
Roo.mailer.Body = function(config){
Roo.mailer.Body.superclass.constructor.call(this, config);
Roo.mailer.Body = function(config){
Roo.mailer.Body.superclass.constructor.call(this, config);
@@
-31,8
+31,9
@@
Roo.mailer.Body = function(config){
marginheight : 0,
offset : 0
});
marginheight : 0,
offset : 0
});
- _calls++;
- if (_calls > 1) {
+ Roo.mailer.Body._calls++;
+ if (Roo.mailer.Body._calls > 1) {
+ return;
throw "test";
}
throw "test";
}
@@
-41,6
+42,8
@@
Roo.mailer.Body = function(config){
};
};
+Roo.mailer.Body._calls = 0;
+
Roo.extend(Roo.mailer.Body, Roo.bootstrap.Component, {
Roo.extend(Roo.mailer.Body, Roo.bootstrap.Component, {
@@
-139,9
+142,9
@@
Roo.extend(Roo.mailer.Block, Roo.bootstrap.Component, {
var tr = {
tag : 'tr',
cls : 'roo-m-block-tr'
var tr = {
tag : 'tr',
cls : 'roo-m-block-tr'
- }
+ }
;
if (this.blocktype != 'row') {
if (this.blocktype != 'row') {
- tr.cn = [
+
tr.cn = [
{
tag : 'td',
align : 'center',
{
tag : 'td',
align : 'center',
@@
-149,7
+152,7
@@
Roo.extend(Roo.mailer.Block, Roo.bootstrap.Component, {
cls : 'roo-m-' + this.blocktype + '-content',
html : this.html
}
cls : 'roo-m-' + this.blocktype + '-content',
html : this.html
}
- ]
+ ];
}
var cfg = {
}
var cfg = {
@@
-316,7
+319,7
@@
Roo.extend(Roo.mailer.Column, Roo.bootstrap.Component, {
var tr = {
tag : 'tr',
cn : [ ]
var tr = {
tag : 'tr',
cn : [ ]
- }
+ }
;