From: phasefx Date: Tue, 26 Jul 2005 11:52:25 +0000 (+0000) Subject: forgot .ischanged, again :D X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9f214df33ee2c1e86b589affc4e55cfd7692bce8;p=Evergreen.git forgot .ischanged, again :D git-svn-id: svn://svn.open-ils.org/ILS/trunk@1469 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_edit_legacy.js b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_edit_legacy.js index 4a17e6f020..f5d68eb210 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_edit_legacy.js +++ b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_edit_legacy.js @@ -844,7 +844,7 @@ function patron_summary_refresh(ev) { var disable_e = document.getElementById('patron_edit_system_disable_checkbox'); if (disable_e) { disable_e.checked = (PATRON.au.active() != 1); - disable_e.setAttribute("oncommand","try{if (PATRON.au.active() == 1) {PATRON.au.active('0');} else {PATRON.au.active('1');}}catch(E){alert(E);}"); + disable_e.setAttribute("oncommand","try{PATRON.au.ischanged('1'); if (PATRON.au.active() == 1) {PATRON.au.active('0');} else {PATRON.au.active('1');}}catch(E){alert(E);}"); } var profile_e = document.getElementById('patron_status_data_profile'); if (profile_e) {