You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/09/06 05:59:11 UTC
cvs commit: xml-cocoon2/src/webapp/samples/flow/examples/prefs prefs.js
ovidiu 2002/09/05 20:59:11
Modified: src/webapp/samples/flow/examples/prefs prefs.js
Log:
Removed debugging statements.
Revision Changes Path
1.2 +0 -8 xml-cocoon2/src/webapp/samples/flow/examples/prefs/prefs.js
Index: prefs.js
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/flow/examples/prefs/prefs.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- prefs.js 6 Sep 2002 00:02:16 -0000 1.1
+++ prefs.js 6 Sep 2002 03:59:10 -0000 1.2
@@ -46,7 +46,6 @@
// and print an indicator close to where the errors
// are. `errorMsg' if not null is printed at the top of the page
// as an error message.
- print ("calling registerUser");
sendPage("userInfo.html",
{ "check" : check, "errorMsg" : errorMsg,
"title": "New User Registration",
@@ -120,8 +119,6 @@
var login = "";
var password = "";
- print("login function called");
-
while (true) {
sendPage("login.html",
{"errorMsg" : errorMsg, "login" : login, "password" : password});
@@ -131,9 +128,7 @@
login = cocoon.request.getParameter("login");
password = cocoon.request.getParameter("password");
- print ("got login = " + login + ", passwd = " + password);
user = userRegistry.getUserWithLogin(login, password);
- print ("got user = " + user);
if (user != null)
break;
@@ -143,8 +138,6 @@
}
}
- print ("login successful as user " + user + " using password " + password);
-
// The user has successfully signed in. At this point we want to
// create a session, so that all the JavaScript global variables are
// shared among invocations of top-level functions. Up until this
@@ -182,7 +175,6 @@
// and print an indicator close to where the errors
// are. `errorMsg' if not null is printed at the top of the page
// as an error message.
- print ("presenting user info");
sendPage("userInfo.html",
{ "check" : check, "errorMsg" : errorMsg,
"title": "Edit account",
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org