From 6f9fdab2bb6da8b9decd701e277f12f0a5759b45 Mon Sep 17 00:00:00 2001 From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 3 Jun 2010 02:52:10 +0000 Subject: [PATCH] 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 --- Open-ILS/web/opac/skin/default/js/password_reset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9da98b4022..c8f2bfd757 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); -- 2.11.0