[Mapbender-commits] r7641 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 24 03:20:49 EST 2011
Author: armin11
Date: 2011-02-24 00:20:49 -0800 (Thu, 24 Feb 2011)
New Revision: 7641
Modified:
trunk/mapbender/http/javascripts/mod_savewmc.js
Log:
little bugfix for save wmc - the should be stored to session on afterMap request for all browsers
Modified: trunk/mapbender/http/javascripts/mod_savewmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_savewmc.js 2011-02-23 19:54:40 UTC (rev 7640)
+++ trunk/mapbender/http/javascripts/mod_savewmc.js 2011-02-24 08:20:49 UTC (rev 7641)
@@ -74,7 +74,7 @@
var browserCompatibilityMode = typeof options.browserCompatibilityMode === "undefined" ?
0 : options.browserCompatibilityMode;
-/*var userAgent = navigator.userAgent;
+var userAgent = navigator.userAgent;
var pattern1=/Chrome/gi;
var pattern2=/Konqueror/gi;
@@ -86,9 +86,9 @@
browserCompatibilityMode = 1;
}
//for all save by afterMapRequest
-browserCompatibilityMode = 0;
-*/
+browserCompatibilityMode = 1;
+
function pausecomp(millis) { //http://www.sean.co.uk/a/webdesign/javascriptdelay.shtm
var date = new Date();
var curDate = null;
More information about the Mapbender_commits
mailing list