LP1282277 & LP1282286 MARC edit TCN search lose data prompts user/ldw/LP1282277_LP1282286_for_testing
authorLiam Whalen <whalen.ld@gmail.com>
Thu, 13 Mar 2014 17:37:25 +0000 (10:37 -0700)
committerLiam Whalen <whalen.ld@gmail.com>
Thu, 13 Mar 2014 17:37:25 +0000 (10:37 -0700)
commit8de316bcfe597ef3ce02275c2ab6b47b38825866
tree1f08194c59fe4128268ef5ed4b856ccd60b96983
parentfd941a0071e4b67959d8bda5ad96e3f1994df787
LP1282277 & LP1282286 MARC edit TCN search lose data prompts

This commit modifies my previous commits.  The code now uses the
previous versions code to mark a tab as locked and to record that data
is saved or not saved.  However, when a user returns to the MARC edit
screen, if there are changes still present, then the code now locks the
tab again and records that there is unsaved data.  This should allow all
previous functionality to remain while providing the proper warnings
when within the MARC editor.
Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
Open-ILS/xul/staff_client/chrome/content/cat/opac.js
Open-ILS/xul/staff_client/chrome/content/main/menu.js