[mapguide-commits] r5910 - trunk/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jun 3 07:56:12 EDT 2011


Author: jng
Date: 2011-06-03 04:56:12 -0700 (Fri, 03 Jun 2011)
New Revision: 5910

Modified:
   trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ
Log:
#1682: When decoding a property value, if an empty property value is encountered, just return as-is.

Modified: trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ	2011-06-03 11:55:06 UTC (rev 5909)
+++ trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ	2011-06-03 11:56:12 UTC (rev 5910)
@@ -101,6 +101,9 @@
 
 function HtmlDecode(input)
 {
+    if (input == null || input == "")
+        return input;
+
     if (_el == null)
         _el = document.createElement('div');
 



More information about the mapguide-commits mailing list