[Laszlo-checkins] r10596 - openlaszlo/trunk/WEB-INF/lps/lfc/data

bargull@openlaszlo.org bargull at openlaszlo.org
Tue Aug 5 14:28:14 PDT 2008


Author: bargull
Date: 2008-08-05 14:28:11 -0700 (Tue, 05 Aug 2008)
New Revision: 10596

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
Log:
Change 20080805-bargull-qIw by bargull at dell--p4--2-53 on 2008-08-05 00:55:50
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: remove unnecessary check

New Features:

Bugs Fixed: LPP-6760

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Code checks for datasource in a dataset, but datasources have been removed.
    

Tests:



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2008-08-05 21:26:13 UTC (rev 10595)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2008-08-05 21:28:11 UTC (rev 10596)
@@ -660,17 +660,12 @@
   * @return boolean
   */
 function isProxied ( ) {
-    var proxied_p = canvas.proxied;
-    // check if this datasource has a "proxied" attribute which overrides canvas switch
-    if (this.proxied != null && this.proxied != "inherit") {
-        proxied_p = (this.proxied == true); // coerce to boolean
-    }
-
     // Check if the dataset has a "proxied" attribute which overrides dataset's value
     if (this.proxied != null && this.proxied != "inherit") {
-        proxied_p = (this.proxied == true);
+        return (this.proxied == true); // coerce to boolean
+    } else {
+        return canvas.proxied;
     }
-    return proxied_p;
 }
 
 /**



More information about the Laszlo-checkins mailing list