From: Rob H. <for...@us...> - 2002-08-14 05:57:53
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv29582/templates Modified Files: repository.js Log Message: oops, didn't mean to check my hack in Index: repository.js =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.js,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- repository.js 13 Aug 2002 19:02:34 -0000 1.2 +++ repository.js 14 Aug 2002 05:57:49 -0000 1.3 @@ -2,5 +2,5 @@ if (clicked == 'Delete') { if (confirm("Deleting this repository will also delete all modules checked out from this repository. Are you sure you wish to do this?")) { - return false; + return true; } } @@ -8,20 +8,20 @@ if (isEmpty(document.repository.repo_name.value)) { alert("Please enter a name for the repository."); - return true; + return false; } else if (isEmpty(document.repository.repo_server.value)) { alert("Please enter a servername for the repository."); - return true; + return false; } else if (isEmpty(document.repository.repo_root.value)) { alert("Please enter the root path to the repository."); - return true; + return false; } - return false; + return true; } else { - return false; + return true; } - return true; + return false; } |