[Mapbender-commits] r9591 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 9 03:41:44 PDT 2016
Author: armin11
Date: 2016-09-09 03:41:44 -0700 (Fri, 09 Sep 2016)
New Revision: 9591
Modified:
trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
Fix for open div dialog
Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php 2016-09-09 09:05:14 UTC (rev 9590)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php 2016-09-09 10:41:44 UTC (rev 9591)
@@ -833,6 +833,7 @@
k=selectedWMS;
l=selectedLayer;
}
+ $("#selectDimensionDialog").remove();
var my = mb_mapObj[j].wms[k].objLayer[l];
var myWms = mb_mapObj[j].wms[k];
//extract/calculate discrete values for time!
@@ -888,7 +889,10 @@
item.content = item.start.toISOString();
myWms.gui_wms_dimension_time = makeDateTimeBetter(item.start.toISOString());
setDimensionUserValue(j,k,l,dimensionIndex,myWms.gui_wms_dimension_time);
+ //lock_maprequest = true; //done to prohibit save wmc for each wms
Mapbender.modules[mod_treeGDE_map].setMapRequest();
+ //Mapbender.modules[mod_treeGDE_map].setSingleMapRequest(mod_treeGDE_map,k);
+ //lock_maprequest = false;
callback(item);
};
} else {
@@ -902,7 +906,11 @@
if (properties.event.type == "tap") {
myWms.gui_wms_dimension_time = makeDateTimeBetter(timeline.itemsData._data[timeline.getSelection()].content);
setDimensionUserValue(j,k,l,dimensionIndex,myWms.gui_wms_dimension_time);
+ //lock_maprequest = true;
Mapbender.modules[mod_treeGDE_map].setMapRequest();
+ //Mapbender.modules[mod_treeGDE_map].setSingleMapRequest(mod_treeGDE_map,k);
+ //alert("wms_id: "+k);
+ //lock_maprequest = false;
}
});
//}
More information about the Mapbender_commits
mailing list