Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
In directory james.mmbase.org:/tmp/cvs-serv32603

Modified Files:
        moveUserBetweenGroup.jsp 
Log Message:
CMSC-996,User and Group lists in Editors,add remove confirm in js


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
See also: http://www.mmbase.org/jira/browse/CMSC-996


Index: moveUserBetweenGroup.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/moveUserBetweenGroup.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- moveUserBetweenGroup.jsp    28 Jul 2008 07:59:51 -0000      1.4
+++ moveUserBetweenGroup.jsp    28 Jul 2008 08:22:04 -0000      1.5
@@ -35,10 +35,12 @@
          alert("<fmt:message key="community.search.promptuser"/>");
          return false;
       }
-      confirm("<fmt:message 
key="community.search.option"><fmt:param>j</fmt:param></fmt:message>");
+     if(confirm("<fmt:message 
key="community.search.option"><fmt:param>j</fmt:param></fmt:message>")){
       document.getElementById("option").value ="remove";
       return true;
    }
+        return false;
+   }
 
 </script>
 </cmscedit:head>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to