[open-ils-commits] r16568 - trunk/Open-ILS/web/opac/skin/default/js (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 2 22:52:13 EDT 2010


Author: dbs
Date: 2010-06-02 22:52:10 -0400 (Wed, 02 Jun 2010)
New Revision: 16568

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/password_reset.js
Log:
password reset URI needs a trailing slash, and this enables the aupr entry to be created, but:

  * Server is now returning a 500 instead of 200, which causes an error dialogue
    to be displayed instead of "success!" and JavaScript errors to cascade
  * We don't want to hard-code the en-US locale; need to pull that from current locale


Modified: trunk/Open-ILS/web/opac/skin/default/js/password_reset.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/password_reset.js	2010-06-02 22:46:02 UTC (rev 16567)
+++ trunk/Open-ILS/web/opac/skin/default/js/password_reset.js	2010-06-03 02:52:10 UTC (rev 16568)
@@ -73,7 +73,7 @@
     pwResetFormDlg.startup();
 
     // Instantiate the form
-    var pwResetFormDiv = dojo.create("form", { id: "requestReset", style: "width: 30em", method: "post", action: "/opac/password/en-US" });
+    var pwResetFormDiv = dojo.create("form", { id: "requestReset", style: "width: 30em", method: "post", action: "/opac/password/en-US/" });
     dojo.create("p", { innerHTML: opac_strings.PWD_RESET_SUBMIT_PROMPT }, pwResetFormDiv);
     var pwResetFormTable = dojo.create("table", null, pwResetFormDiv);
     var pwResetFormTbody = dojo.create("tbody", null, pwResetFormTable);



More information about the open-ils-commits mailing list