[Commits] r2661 - sandbox/pgiraud/playground/print-multipage/geoext.ux/ux/MultiPagePrint/lib/GeoExt.ux
commits at geoext.org
commits at geoext.org
Tue May 10 17:01:16 CEST 2011
Author: pgiraud
Date: 2011-05-10 17:01:15 +0200 (Tue, 10 May 2011)
New Revision: 2661
Modified:
sandbox/pgiraud/playground/print-multipage/geoext.ux/ux/MultiPagePrint/lib/GeoExt.ux/MultiPagePrint.js
Log:
As in SimplePrint, let's modify the hide/show methods to hideExtent/showExtent
Modified: sandbox/pgiraud/playground/print-multipage/geoext.ux/ux/MultiPagePrint/lib/GeoExt.ux/MultiPagePrint.js
===================================================================
--- sandbox/pgiraud/playground/print-multipage/geoext.ux/ux/MultiPagePrint/lib/GeoExt.ux/MultiPagePrint.js 2011-05-04 14:56:30 UTC (rev 2660)
+++ sandbox/pgiraud/playground/print-multipage/geoext.ux/ux/MultiPagePrint/lib/GeoExt.ux/MultiPagePrint.js 2011-05-10 15:01:15 UTC (rev 2661)
@@ -165,19 +165,19 @@
}
//for accordion
- this.on('expand', this.show, this);
- this.on('collapse', this.hide, this);
+ this.on('expand', this.showExtent, this);
+ this.on('collapse', this.hideExtent, this);
//for tabs
- this.on('activate', this.show, this);
- this.on('deactivate', this.hide, this);
+ this.on('activate', this.showExtent, this);
+ this.on('deactivate', this.hideExtent, this);
//for manual enable/disable
- this.on('enable', this.show, this);
- this.on('disable', this.hide, this);
+ this.on('enable', this.showExtent, this);
+ this.on('disable', this.hideExtent, this);
//for use in an Ext.Window with closeAction close
- this.on('destroy', this.hide, this);
+ this.on('destroy', this.hideExtent, this);
},
/** private: method[initForm]
@@ -394,17 +394,17 @@
GeoExt.ux.MultiPagePrint.superclass.beforeDestroy.apply(this, arguments);
},
- /** private: method[show]
+ /** private: method[showExtent]
* Handler for the panel's expand/activate/enable event
*/
- show: function() {
+ showExtent: function() {
this.printExtent.show();
},
- /** private: method[hide]
+ /** private: method[hideExtent]
* Handler for the panel's collapse/deactivate/disable/destroy event
*/
- hide: function() {
+ hideExtent: function() {
this.printExtent.hide();
}
});
More information about the Commits
mailing list