[Mapbender-commits] r4689 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 25 06:31:22 EDT 2009
Author: christoph
Date: 2009-09-25 06:31:22 -0400 (Fri, 25 Sep 2009)
New Revision: 4689
Modified:
trunk/mapbender/lib/ajax.php
trunk/mapbender/lib/button.js
trunk/mapbender/lib/core.js
trunk/mapbender/lib/point.js
Log:
Modified: trunk/mapbender/lib/ajax.php
===================================================================
--- trunk/mapbender/lib/ajax.php 2009-09-25 10:29:41 UTC (rev 4688)
+++ trunk/mapbender/lib/ajax.php 2009-09-25 10:31:22 UTC (rev 4689)
@@ -56,7 +56,7 @@
$this->method = $requestArray["method"];
if ($requestArray["params"]) {
- $obj = $this->json->decode(stripslashes($requestArray["params"]));
+ $obj = $this->json->decode($requestArray["params"]);
$this->paramObject = $obj;
}
}
Modified: trunk/mapbender/lib/button.js
===================================================================
--- trunk/mapbender/lib/button.js 2009-09-25 10:29:41 UTC (rev 4688)
+++ trunk/mapbender/lib/button.js 2009-09-25 10:31:22 UTC (rev 4689)
@@ -191,11 +191,11 @@
req.send();
};
-eventLocalize.register(function () {
+Mapbender.events.localize.register(function () {
mb_localizeButtons();
});
-eventInit.register(function () {
+Mapbender.events.init.register(function () {
mb_localizeButtons();
});
Modified: trunk/mapbender/lib/core.js
===================================================================
--- trunk/mapbender/lib/core.js 2009-09-25 10:29:41 UTC (rev 4688)
+++ trunk/mapbender/lib/core.js 2009-09-25 10:31:22 UTC (rev 4689)
@@ -15,7 +15,7 @@
/**
* Triggered after a map is requested.
*/
-var eventAfterMapRequest = new MapbenderEvent();
+var eventAfterMapRequest = Mapbender.events.afterMapRequest = new MapbenderEvent();
/**
* Triggered after aall map images have been loaded.
Modified: trunk/mapbender/lib/point.js
===================================================================
--- trunk/mapbender/lib/point.js 2009-09-25 10:29:41 UTC (rev 4688)
+++ trunk/mapbender/lib/point.js 2009-09-25 10:31:22 UTC (rev 4689)
@@ -12,7 +12,7 @@
* @param {Float} x x value of the {@link Point}
* @param {Float} y y value of the {@link Point}
*/
- function Point(x, y, z){
+ Mapbender.Point = Point = function (x, y, z){
/**
* x value of the {@link Point}
*
More information about the Mapbender_commits
mailing list