X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=b4b532f2a5ed1c53fcf8e3be17fde2e16f9cec83;hp=2ef33c80add3be0450344e68d26f89e2536b7f1b;hb=8673c23959602f121d1fb75c6a7ec7a656352897;hpb=01c95d327a88435efb6a768f21a20506e43ba9ed diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 2ef33c80ad..b4b532f2a5 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -33020,9 +33020,9 @@ Roo.extend(Roo.grid.Grid, Roo.util.Observable, { pos = this.cm.config.length; //this.cm.config.push(cfg); } pos = Math.max(0,pos); - ar.shift(ar.length); - ar.shift(pos); - this.cm.config.splice.call(ar); + ar.unshift(0); + ar.unshift(pos); + this.cm.config.splice.apply(this.cm.config, ar);