From: dbs Date: Thu, 3 Jun 2010 02:52:10 +0000 (+0000) Subject: password reset URI needs a trailing slash, and this enables the aupr entry to be... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6f9fdab2bb6da8b9decd701e277f12f0a5759b45;p=evergreen%2Fbjwebb.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@16568 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/password_reset.js b/Open-ILS/web/opac/skin/default/js/password_reset.js index 9da98b402..c8f2bfd75 100644 --- a/Open-ILS/web/opac/skin/default/js/password_reset.js +++ b/Open-ILS/web/opac/skin/default/js/password_reset.js @@ -73,7 +73,7 @@ function createResetDialog() { 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);