X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=server%2Forg.argeo.slc.ria%2Fsrc%2Fargeo-ria-lib%2Fslc%2Fclass%2Forg%2Fargeo%2Fslc%2Fria%2FFlowsSelectorView.js;h=73789cfd5ec3b40008d67c363d66baaf90046458;hb=c88c7888bf77852a02e2ca8e2b0309c3aa3cf28e;hp=d15b71a1d265a3310c0cdbb57f97580d422f182c;hpb=bf8e1e07e652e0838e7444d890b4b1a44ae70a24;p=gpl%2Fargeo-slc.git diff --git a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/FlowsSelectorView.js b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/FlowsSelectorView.js index d15b71a1d..73789cfd5 100644 --- a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/FlowsSelectorView.js +++ b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/FlowsSelectorView.js @@ -139,7 +139,8 @@ qx.Class.define("org.argeo.slc.ria.FlowsSelectorView", { menu : "Launcher", toolbar : "list", callback : function(e) { - this.rootNode.reload(); + this.rootNode.setState("loading"); + this.rootNode.load(); }, command : null }, @@ -235,7 +236,7 @@ qx.Class.define("org.argeo.slc.ria.FlowsSelectorView", { } var req = org.argeo.slc.ria.SlcApi.getListAgentsService("agents"); var agents = {}; - if(folder.getState() == "loaded" && folder.getUserData("agentsMap")){ + if(folder.getUserData("agentsMap")){ // Diff loading, just add new nodes. agents = folder.getUserData("agentsMap"); var newAgents = {};