Update of /cvsroot/sandweb/sandweb/templates
In directory usw-pr-cvs1:/tmp/cvs-serv14195/templates
Modified Files:
repository.js
Log Message:
oops, did not mean to check hat stuff in
Index: repository.js
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/repository.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -U2 -r1.4 -r1.5
--- repository.js 15 Aug 2002 08:00:17 -0000 1.4
+++ repository.js 15 Aug 2002 08:02:41 -0000 1.5
@@ -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;
}
|