[Mapbender-commits] r3042 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 29 10:41:15 EDT 2008
Author: christoph
Date: 2008-09-29 10:41:15 -0400 (Mon, 29 Sep 2008)
New Revision: 3042
Modified:
trunk/mapbender/http/javascripts/mod_savewmc.php
Log:
save WMC after each map request
Modified: trunk/mapbender/http/javascripts/mod_savewmc.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_savewmc.php 2008-09-29 14:36:55 UTC (rev 3041)
+++ trunk/mapbender/http/javascripts/mod_savewmc.php 2008-09-29 14:41:15 UTC (rev 3042)
@@ -36,7 +36,10 @@
try {if (saveInSession) {}}catch(e) {saveInSession = 0;}
if (saveInSession == 1) {
- mb_registerInitFunctions('setOnUnload()');
+ eventAfterMapRequest.register(function () {
+ mod_savewmc_session();
+ });
+// mb_registerInitFunctions('setOnUnload()');
}
<?php
More information about the Mapbender_commits
mailing list