[Mapbender-commits] r9046 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 13 01:16:56 PDT 2014
Author: verenadiewald
Date: 2014-08-13 01:16:56 -0700 (Wed, 13 Aug 2014)
New Revision: 9046
Modified:
trunk/mapbender/http/php/mod_updateWMS.php
Log:
bugfix for update with compare dialog
Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php 2014-08-12 13:37:22 UTC (rev 9045)
+++ trunk/mapbender/http/php/mod_updateWMS.php 2014-08-13 08:16:56 UTC (rev 9046)
@@ -208,6 +208,7 @@
if($("#compare_dialog").attr("checked")) {
if (typeof $compareDialog == 'object') {
$("#compareDialog").remove();
+ $("#linkDialog").remove();
$compareDialog.dialog("destroy");
}
radioAuthValue = $('input:radio[name=imrHttpAuth]:checked').val();
@@ -304,10 +305,11 @@
$(".linkDialog").click(function () {
var fieldId = $(this).attr("id");
- $selectLayerDialog = $("<div><select id='xmlLayerSelect'>" + selectboxOptions + "</select></div>").dialog({
+ $selectLayerDialog = $("<div id='linkDialog'><select id='xmlLayerSelect'>" + selectboxOptions + "</select></div>").dialog({
title : "Select layer",
buttons: {
"Close": function() {
+ $("#linkDialog").remove();
$(this).dialog("destroy").remove();
},
"Select": function() {
@@ -321,6 +323,7 @@
$("#dbCurrentName_"+cntArray[1]).css("background-color","");
}
}
+ $("#linkDialog").remove();
$(this).dialog("destroy").remove();
}
}
More information about the Mapbender_commits
mailing list