[Mapbender-commits] r2010 - branches/2.5/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jan 22 09:04:29 EST 2008
Author: christoph
Date: 2008-01-22 09:04:24 -0500 (Tue, 22 Jan 2008)
New Revision: 2010
Modified:
branches/2.5/http/javascripts/event.js
branches/2.5/http/javascripts/map.js
Log:
bug fix event system (forgot to hand over frame name on eventBeforeMapRequest)
Modified: branches/2.5/http/javascripts/event.js
===================================================================
--- branches/2.5/http/javascripts/event.js 2008-01-22 13:45:56 UTC (rev 2009)
+++ branches/2.5/http/javascripts/event.js 2008-01-22 14:04:24 UTC (rev 2010)
@@ -73,6 +73,7 @@
// properties represents booleanOperator
if (typeof(booleanOperator) == "undefined") {
booleanOperator = properties;
+ properties = undefined;
}
else {
// var e = new Mb_exception("MapbenderEvent.trigger: invalid properties: %s", properties);
Modified: branches/2.5/http/javascripts/map.js
===================================================================
--- branches/2.5/http/javascripts/map.js 2008-01-22 13:45:56 UTC (rev 2009)
+++ branches/2.5/http/javascripts/map.js 2008-01-22 14:04:24 UTC (rev 2010)
@@ -670,7 +670,7 @@
var ts = mb_timestamp();
- var ret = eventBeforeMapRequest.trigger("AND");
+ var ret = eventBeforeMapRequest.trigger({frameName:frameName}, "AND");
if (ret === false) {
return true;
}
More information about the Mapbender_commits
mailing list