From: Rob H. <for...@us...> - 2002-08-15 08:00:20
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv13195/templates Modified Files: repository.js Log Message: lib/SandWeb/Repository/cvs.pm Index: repository.js =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.js,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- repository.js 14 Aug 2002 05:57:49 -0000 1.3 +++ repository.js 15 Aug 2002 08:00:17 -0000 1.4 @@ -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 true; + return false; } } @@ -8,20 +8,20 @@ if (isEmpty(document.repository.repo_name.value)) { alert("Please enter a name for the repository."); - return false; + return true; } else if (isEmpty(document.repository.repo_server.value)) { alert("Please enter a servername for the repository."); - return false; + return true; } else if (isEmpty(document.repository.repo_root.value)) { alert("Please enter the root path to the repository."); - return false; + return true; } - return true; + return false; } else { - return true; + return false; } - return false; + return true; } |