[Commits] r999 - apps/opengeo/geoexplorer/branches/0.1.x/lib
commits at geoext.org
commits at geoext.org
Fri Jun 5 22:22:28 CEST 2009
Author: tschaub
Date: 2009-06-05 22:22:28 +0200 (Fri, 05 Jun 2009)
New Revision: 999
Modified:
apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
Log:
remove unnecessary closure
Modified: apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js 2009-06-05 15:39:32 UTC (rev 998)
+++ apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js 2009-06-05 20:22:28 UTC (rev 999)
@@ -947,11 +947,9 @@
height: 300,
autoScroll: true,
listeners: {
- close: (function(key) {
- return function(panel){
- delete this.popupCache[key];
- };
- })(popupKey),
+ close: function(panel) {
+ delete this.popupCache[popupKey];
+ },
scope: this
}
});
More information about the Commits
mailing list