PDA

View Full Version : [OPEN-1441] Width redeclared in PivotGridView



nathand
17 Nov 2010, 10:32 AM
PivotGridView.js around line 295 from SVN Revison 6996



onLayout: function(width, height) {
Ext.grid.PivotGridView.superclass.onLayout.apply(this, arguments);

var width = this.getGridInnerWidth();

this.resizeColumnHeaders(width);
this.resizeAllRows(width);
},
"width" is passed in as a param and then re declared with "var width" a few lines down.

nathand
17 Nov 2010, 10:38 AM
If you run JSlint on that file there are a number of other nit picky errors as well.