diff --git a/workflow/engine/xmlform/users/users_ShortOptionsAdhoc.xml b/workflow/engine/xmlform/users/users_ShortOptionsAdhoc.xml old mode 100755 new mode 100644 index 46d98038a..628a88d70 --- a/workflow/engine/xmlform/users/users_ShortOptionsAdhoc.xml +++ b/workflow/engine/xmlform/users/users_ShortOptionsAdhoc.xml @@ -70,5 +70,19 @@ var changeView = function(iType) Pm.tmp.usersPanel.currentRPC.make(); }; +var usersGroup = function(GRP_UID, c){ + var div = document.getElementById('users'+c); + div.style.display = (div.style.display == 'none') ? 'block' : 'none'; + + var oRPC = new leimnud.module.rpc.xmlhttp({ + url : '../users/users_Ajax', + async : false, + method: 'POST', + args : 'function=usersGroup&GRP_UID=' + GRP_UID + }); + oRPC.make(); + div.innerHTML=oRPC.xmlhttp.responseText; +}; + ]]> \ No newline at end of file