X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=d4047dd39a94188c43ce0a61a33e5026a30e0d35;hb=5f45ee1f42075694765ec58b226877a8157ceff0;hp=92fd717efa574acae78c477001dd841e4390da63;hpb=4a5da5de34f638cf505a3340d0d2e0b4d419ce1f;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 92fd717efa..d4047dd39a 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -27404,7 +27404,11 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { 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); @@ -27424,7 +27428,12 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { 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);