[open-ils-commits] r18006 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Sep 26 06:29:42 EDT 2010
Author: phasefx
Date: 2010-09-26 06:29:36 -0400 (Sun, 26 Sep 2010)
New Revision: 18006
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
Log:
unmark record for overlay after it is overlaid
Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2010-09-26 10:02:38 UTC (rev 18005)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2010-09-26 10:29:36 UTC (rev 18006)
@@ -947,6 +947,19 @@
}
} else {
alert($("catStrings").getString('staff.cat.z3950.spawn_marc_editor_for_overlay.success_overlay'));
+ try {
+ obj.data.marked_record_mvr = null;
+ obj.data.marked_record = null;
+ obj.data.stash('marked_record');
+ obj.data.stash('marked_record_mvr');
+ obj.controller.view.marc_import_overlay.disabled = true;
+ if ($("overlay_tcn_indicator")) {
+ $("overlay_tcn_indicator").setAttribute('value',$("catStrings").getString('staff.cat.z3950.marked_record_for_overlay_indicator.no_record.label'));
+ }
+ xulG.set_statusbar(1, $("catStrings").getString('staff.cat.z3950.marked_record_for_overlay_indicator.no_record.label') );
+ } catch(E) {
+ dump('Error in z3950.js, post-overlay: ' + E + '\n');
+ }
return {
'id' : r.id(),
'on_complete' : function() {
More information about the open-ils-commits
mailing list