[Mapbender-commits] r6282 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 17 05:01:14 EDT 2010
Author: christoph
Date: 2010-06-17 09:01:14 +0000 (Thu, 17 Jun 2010)
New Revision: 6282
Modified:
trunk/mapbender/http/javascripts/map.php
Log:
Modified: trunk/mapbender/http/javascripts/map.php
===================================================================
--- trunk/mapbender/http/javascripts/map.php 2010-06-17 07:23:08 UTC (rev 6281)
+++ trunk/mapbender/http/javascripts/map.php 2010-06-17 09:01:14 UTC (rev 6282)
@@ -287,14 +287,12 @@
var target = $("#" + settings.id).mapbender();
if (target && typeof target[i.method] === "function") {
if (typeof link.value !== "undefined") {
- new Mapbender.Notice("Method '" + i.method + "' in element '" + settings.id + "' called with HARDWIRED value '" + $.toJSON(link.value) + "' by event '" + link.event + "' in element '" + link.id + "'.");
-// console.log("Method '" + i.method + "' in element '" + settings.id + "' called with HARDWIRED value " + $.toJSON(link.value) + " by event '" + link.event + "' in element '" + link.id + "'.");
+ new Mapbender.Warning("Method '" + i.method + "' in element '" + settings.id + "' called with HARDWIRED value '" + $.toJSON(link.value) + "' by event '" + link.event + "' in element '" + link.id + "'.");
target[i.method](link.value);
}
else {
var arg = (!obj || !obj[link.attr]) ? undefined : obj[link.attr];
- new Mapbender.Notice("Method '" + i.method + "' in element '" + settings.id + "' called with value '" + $.toJSON(arg) + "' by event '" + link.event + "' in element '" + link.id + "'.");
-// console.log("Method '" + i.method + "' in element '" + settings.id + "' called with value " + $.toJSON(arg) + " by event '" + link.event + "' in element '" + link.id + "'.");
+ new Mapbender.Warning("Method '" + i.method + "' in element '" + settings.id + "' called with value '" + $.toJSON(arg) + "' by event '" + link.event + "' in element '" + link.id + "'.");
target[i.method](arg);
}
}
More information about the Mapbender_commits
mailing list