[open-ils-commits] r10664 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Sep 21 14:22:14 EDT 2008
Author: phasefx
Date: 2008-09-21 14:22:11 -0400 (Sun, 21 Sep 2008)
New Revision: 10664
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
Log:
fix the marc view/result view button
Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2008-09-21 18:16:32 UTC (rev 10663)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2008-09-21 18:22:11 UTC (rev 10664)
@@ -68,8 +68,8 @@
obj.controller.view.marc_import.setAttribute('retrieve_id',list[0]);
obj.controller.view.marc_import_overlay.disabled = false;
obj.controller.view.marc_import_overlay.setAttribute('retrieve_id',list[0]);
- obj.controller.view.marc_view.disabled = false;
- obj.controller.view.marc_view.setAttribute('retrieve_id',list[0]);
+ obj.controller.view.marc_view_btn.disabled = false;
+ obj.controller.view.marc_view_btn.setAttribute('retrieve_id',list[0]);
} catch(E) {
obj.error.standard_unexpected_error_alert($("catStrings").getString('staff.cat.z3950.obj_list_init.list_construction_error'),E);
}
@@ -517,7 +517,7 @@
obj.result_set[ ++obj.number_of_result_sets ] = results[i];
obj.controller.view.marc_import.disabled = true;
obj.controller.view.marc_import_overlay.disabled = true;
- var x = obj.controller.view.marc_view;
+ var x = obj.controller.view.marc_view_btn;
if (x.getAttribute('toggle') == '0') x.disabled = true;
for (var j = 0; j < obj.result_set[ obj.number_of_result_sets ].records.length; j++) {
var f;
More information about the open-ils-commits
mailing list