[fusion-commits] r1558 - in trunk: MapGuide MapServer
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Sep 26 13:14:29 EDT 2008
Author: pagameba
Date: 2008-09-26 13:14:28 -0400 (Fri, 26 Sep 2008)
New Revision: 1558
Modified:
trunk/MapGuide/MapGuide.js
trunk/MapServer/MapServer.js
Log:
change from prototype's Array.clone() to mootools $A()
Modified: trunk/MapGuide/MapGuide.js
===================================================================
--- trunk/MapGuide/MapGuide.js 2008-09-26 17:04:50 UTC (rev 1557)
+++ trunk/MapGuide/MapGuide.js 2008-09-26 17:14:28 UTC (rev 1558)
@@ -345,7 +345,7 @@
this.aHideGroups = [];
this.aRefreshLayers = [];
this.layerRoot.clear();
- this.oldLayers = this.aLayers.clone();
+ this.oldLayers = $A(this.aLayers);
this.aLayers = [];
var sl = Fusion.getScriptLanguage();
@@ -458,7 +458,7 @@
var o;
eval('o='+r.responseText);
if (o.success) {
- var layerCopy = this.aLayers.clone();
+ var layerCopy = $A(this.aLayers);
this.aLayers = [];
this.aVisibleLayers = [];
for (var i=0; i<aLayerIndex.length; ++i) {
Modified: trunk/MapServer/MapServer.js
===================================================================
--- trunk/MapServer/MapServer.js 2008-09-26 17:04:50 UTC (rev 1557)
+++ trunk/MapServer/MapServer.js 2008-09-26 17:14:28 UTC (rev 1558)
@@ -426,7 +426,7 @@
var o;
eval('o='+r.responseText);
if (o.success) {
- var layerCopy = this.aLayers.clone();
+ var layerCopy = $A(this.aLayers);
this.aLayers = [];
this.aVisibleLayers = [];
More information about the fusion-commits
mailing list