[open-ils-commits] r7647 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 8 15:21:43 EDT 2007
Author: miker
Date: 2007-08-08 15:18:46 -0400 (Wed, 08 Aug 2007)
New Revision: 7647
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
Log:
pass the obj instance in, now that the function is outside the big data structure
Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2007-08-08 19:13:48 UTC (rev 7646)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2007-08-08 19:18:46 UTC (rev 7647)
@@ -30,7 +30,7 @@
}
};
-cat.record_buckets.export_records = function(output_type) {
+cat.record_buckets.export_records = function(obj, output_type) {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
obj.list2.select_all();
@@ -526,22 +526,22 @@
'cmd_export_records_usmarc' : [
['command'],
- function () { return cat.record_buckets.export_records('usmarc') }
+ function () { return cat.record_buckets.export_records(obj, 'usmarc') }
],
'cmd_export_records_unimarc' : [
['command'],
- function () { return cat.record_buckets.export_records('unimarc') }
+ function () { return cat.record_buckets.export_records(obj, 'unimarc') }
],
'cmd_export_records_xml' : [
['command'],
- function () { return cat.record_buckets.export_records('xml') }
+ function () { return cat.record_buckets.export_records(obj, 'xml') }
],
'cmd_export_records_bre' : [
['command'],
- function () { return cat.record_buckets.export_records('bre') }
+ function () { return cat.record_buckets.export_records(obj, 'bre') }
],
'cmd_merge_records' : [
More information about the open-ils-commits
mailing list