[Mapbender-commits] r6430 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 28 04:56:59 EDT 2010


Author: christoph
Date: 2010-06-28 08:56:59 +0000 (Mon, 28 Jun 2010)
New Revision: 6430

Modified:
   trunk/mapbender/http/javascripts/mod_loadwmc.js
Log:
http://trac.osgeo.org/mapbender/ticket/649

Modified: trunk/mapbender/http/javascripts/mod_loadwmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.js	2010-06-25 08:38:37 UTC (rev 6429)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.js	2010-06-28 08:56:59 UTC (rev 6430)
@@ -100,7 +100,7 @@
 	};
 	
 	this.load = function (id) {
-		loadMergeAppendCallback($.extend(LOAD_WMC_OPTIONS, {
+		loadMergeAppendCallback($.extend({}, LOAD_WMC_OPTIONS, {
 			parameters: {
 				id: id
 			}
@@ -402,7 +402,7 @@
 	
 	var createPublishWmcCell = function (wmc) {
 		return appendBoolTableCell(
-			$.extend(PUBLISH_WMC_OPTIONS, {
+			$.extend({}, PUBLISH_WMC_OPTIONS, {
 				isPublic: wmc.isPublic,
 				disabled: wmc.disabled,
 				parameters: {
@@ -432,7 +432,7 @@
 	
 	var createDeleteWmcCell = function (wmc) {
 		var $deleteTd = createTableCell(
-			$.extend(DELETE_WMC_OPTIONS, {
+			$.extend({}, DELETE_WMC_OPTIONS, {
 				src: wmc.disabled ? "../img/button_gray/del_disabled.png" : "../img/button_gray/del.png",
 				parameters: {
 					id: wmc.id



More information about the Mapbender_commits mailing list