andrey.korolyov
3 Mar 2007, 3:34 PM
Bug with grid - container id.
If if have container id 'dialog:add_block:center:grid' - have issue with header line.
If container element have id 'dialog-add_block-center-grid' - all works fine.
there is problem
GridView.js
Line: 44
cellRE: /(?:.*?)x-grid-(?:hd|cell|csplit)-(?:[\d]+)-([\d]+)(?:.*?)/,
findRE: /\s?(?:x-grid-hd|x-grid-col|x-grid-csplit)\s/,
line: 337
getCellIndex : function(cell){
var id = String(cell.className).match(this.cellRE);
if(id){
return parseInt(id[1], 10);
}
return 0;
},
If if have container id 'dialog:add_block:center:grid' - have issue with header line.
If container element have id 'dialog-add_block-center-grid' - all works fine.
there is problem
GridView.js
Line: 44
cellRE: /(?:.*?)x-grid-(?:hd|cell|csplit)-(?:[\d]+)-([\d]+)(?:.*?)/,
findRE: /\s?(?:x-grid-hd|x-grid-col|x-grid-csplit)\s/,
line: 337
getCellIndex : function(cell){
var id = String(cell.className).match(this.cellRE);
if(id){
return parseInt(id[1], 10);
}
return 0;
},