]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc-web/class/org/argeo/slc/web/TestList.js
Remove warning at startup with property "selected" not ready
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc-web / class / org / argeo / slc / web / TestList.js
index ae1c17cc2bd9f4df415809bfd704148c7ade764b..28a9f193cad876b9e93e7cc67b9553cd9563add5 100644 (file)
@@ -285,7 +285,9 @@ qx.Class.define("org.argeo.slc.web.TestList",
                                select.setSelected(item);\r
                        }\r
                 }\r
-                this.setCollectionId(select.getSelected().getValue());\r
+                if(qx.lang.Object.getLength(collectionList)){\r
+                        this.setCollectionId(select.getSelected().getValue());\r
+                }\r
                 select.addListener("changeValue", this.collectionSelectorListener, this);\r
          }, this);\r
                  \r