[Mapbender-commits] r5070 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Dec 3 08:47:22 EST 2009


Author: christoph
Date: 2009-12-03 08:47:22 -0500 (Thu, 03 Dec 2009)
New Revision: 5070

Modified:
   trunk/mapbender/http/plugins/mb_wmsTimeInterval.js
Log:


Modified: trunk/mapbender/http/plugins/mb_wmsTimeInterval.js
===================================================================
--- trunk/mapbender/http/plugins/mb_wmsTimeInterval.js	2009-12-03 13:42:44 UTC (rev 5069)
+++ trunk/mapbender/http/plugins/mb_wmsTimeInterval.js	2009-12-03 13:47:22 UTC (rev 5070)
@@ -120,6 +120,10 @@
 		var result = $datepicker.data("dateChanged").trigger({date: date});
 		if (result) {
 			$input.val(formatDate(date));
+			Mapbender.modules[options.id].updated.trigger({
+				time: formatDate(getDate($datepickerFrom)) + "/" + 
+					formatDate(getDate($datepickerTo))
+			});
 			return true;
 		}
 		return false;
@@ -253,6 +257,7 @@
 		}
 		return "";
 	};
+	this.updated = new Mapbender.Event();
 };
 
 Mapbender.modules[options.id] = $.extend(new Api(options), Mapbender.modules[options.id]);



More information about the Mapbender_commits mailing list