[Commits] r1480 - sandbox/opengeo/style/geoext/lib/GeoExt/widgets
commits at geoext.org
commits at geoext.org
Fri Nov 20 05:12:11 CET 2009
Author: tschaub
Date: 2009-11-20 05:12:11 +0100 (Fri, 20 Nov 2009)
New Revision: 1480
Modified:
sandbox/opengeo/style/geoext/lib/GeoExt/widgets/LegendVector.js
Log:
Remove redundant call to superclass (#174).
Modified: sandbox/opengeo/style/geoext/lib/GeoExt/widgets/LegendVector.js
===================================================================
--- sandbox/opengeo/style/geoext/lib/GeoExt/widgets/LegendVector.js 2009-11-20 03:49:44 UTC (rev 1479)
+++ sandbox/opengeo/style/geoext/lib/GeoExt/widgets/LegendVector.js 2009-11-20 04:12:11 UTC (rev 1480)
@@ -129,7 +129,6 @@
* Initializes the Vector legend.
*/
initComponent: function() {
- GeoExt.LegendVector.superclass.initComponent.call(this);
if (this.record) {
this.layer = this.record.get("layer");
}
@@ -157,11 +156,9 @@
if (this.layer && this.feature && !this.rules) {
this.setRules();
}
-
- this.rulesContainer = new Ext.Panel({
- border: false
- });
+ this.rulesContainer = new Ext.Panel({border: false});
+
this.items = [this.rulesContainer];
this.addEvents(
More information about the Commits
mailing list