projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix column widths docs
[roojs1]
/
roojs-debug.js
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
e9e89ec
..
77876a5
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-51906,7
+51906,11
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
this.colWidths[i] = nw;
return;
}
this.colWidths[i] = nw;
return;
}
- this.colWidths[i] += otherAdd
+ if (typeof(this.colWidths[i]) == 'undefined') {
+ this.colWidths[i] = otherAdd;
+ } else {
+ this.colWidths[i] += otherAdd;
+ }
}, this);
this.updateWidths(table);
}, this);
this.updateWidths(table);
@@
-51926,7
+51930,12
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
this.colWidths[i] = nw;
return;
}
this.colWidths[i] = nw;
return;
}
- this.colWidths[i] -= otherSub
+ if (typeof(this.colWidths[i]) == 'undefined') {
+ this.colWidths[i] = otherSub;
+ } else {
+ this.colWidths[i] -= otherSub;
+ }
+
}, this);
this.updateWidths(table);
}, this);
this.updateWidths(table);