X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=1cda431fb38d359f9d8f612814b13f88fd44ef92;hp=c9443d3f408c4b30019fac9f7c4d9f5709c78aab;hb=8673c23959602f121d1fb75c6a7ec7a656352897;hpb=01c95d327a88435efb6a768f21a20506e43ba9ed diff --git a/roojs-debug.js b/roojs-debug.js index c9443d3f40..1cda431fb3 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -55505,9 +55505,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);