[fusion-commits] r1882 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Jul 23 10:28:24 EDT 2009


Author: pagameba
Date: 2009-07-23 10:28:23 -0400 (Thu, 23 Jul 2009)
New Revision: 1882

Modified:
   trunk/lib/ApplicationDefinition.js
Log:
applying r1777 to trunk.

Modified: trunk/lib/ApplicationDefinition.js
===================================================================
--- trunk/lib/ApplicationDefinition.js	2009-07-22 20:41:18 UTC (rev 1881)
+++ trunk/lib/ApplicationDefinition.js	2009-07-23 14:28:23 UTC (rev 1882)
@@ -1057,6 +1057,14 @@
                 this.parameters.push(json.Parameter[i]['@name']);
             }
         }
+        this.reports = [];
+        if (json.Report instanceof Array) {
+            for (var i=0; i<json.Report.length; i++) {
+              var label = json.Report[i].Label[0]
+              var link = json.Report[i].Link[0]
+              this.reports.push({'label':label, 'link':link});
+            }
+        }
         var rule;
         if (json.SearchAnd instanceof Array) {
             this.rule = new Fusion.Lib.ApplicationDefinition.SearchRule('AND');



More information about the fusion-commits mailing list