]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1581196: webstaff: fix dirty form detection in patron editor
authorGalen Charlton <gmc@esilibrary.com>
Thu, 12 May 2016 19:58:49 +0000 (15:58 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Jul 2016 21:47:23 +0000 (17:47 -0400)
commit357aabae410bbe25160947acd52693841d690e92
tree96226c6b4eecc9f0204b71d26c6b89e2e5102342
parent8b77b6841833b7448fc2afdcea31911833581b72
LP#1581196: webstaff: fix dirty form detection in patron editor

This patch fixes a problem wherein the patron editor
form would think that it had been modified by the
user immediately after initialization.

To test
-------
[1] Load the patron editor, then refresh the page. Note that
    you are warned that there is unsaved input.
[2] As above, but hit the save button. Note that after saving,
    you still get a warning that there is unsaved input.
[3] Apply the page, then repeat tests 1 and 2. This time, you
    shouldn't get inappropriate unsaved data warnings.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js