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
return;\r
}\r
\r
+ var currentFocus = org.argeo.ria.components.ViewsManager.getInstance().getCurrentFocus();\r
+ if(currentFocus.getViewId() == "applet"){\r
+ alert("Should copy data from the applet - command was " + collectionId);\r
+ return;\r
+ }\r
+ \r
if(selectionType == "current_collection"){\r
this.error("Not implemented yet!"); \r
}else if(selectionType == "current_selection"){\r