[mapguide-commits] r5909 - branches/2.2/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jun 3 07:55:06 EDT 2011


Author: jng
Date: 2011-06-03 04:55:06 -0700 (Fri, 03 Jun 2011)
New Revision: 5909

Modified:
   branches/2.2/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: branches/2.2/MgDev/Web/src/viewerfiles/propertyctrl.templ
===================================================================
--- branches/2.2/MgDev/Web/src/viewerfiles/propertyctrl.templ	2011-06-02 18:53:01 UTC (rev 5908)
+++ branches/2.2/MgDev/Web/src/viewerfiles/propertyctrl.templ	2011-06-03 11:55:06 UTC (rev 5909)
@@ -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