[open-ils-commits] r14727 - in trunk/Open-ILS/xul/staff_client/server: locale/en-US patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 2 18:17:22 EST 2009
Author: phasefx
Date: 2009-11-02 18:17:16 -0500 (Mon, 02 Nov 2009)
New Revision: 14727
Modified:
trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
Remove restriction of editing pickup-lib for holds in transit
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2009-11-02 22:48:15 UTC (rev 14726)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2009-11-02 23:17:16 UTC (rev 14727)
@@ -392,7 +392,6 @@
staff.circ.holds.unexpected_error.not_likely_modified=Holds not likely modified.
staff.circ.holds.unexpected_error.not_likely_activated=Holds not likely activated.
staff.circ.holds.unexpected_error.not_likely_suspended=Holds not likely suspended.
-staff.circ.holds.error.may_not_edit_pickup_lib_for_hold_intransit=You may not edit the pickup library for holds that are in-transit or ready for pickup.
staff.circ.holds.alt_view.label=Detail View
staff.circ.holds.alt_view.accesskey=V
staff.circ.holds.list_view.label=List View
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2009-11-02 22:48:15 UTC (rev 14726)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2009-11-02 23:17:16 UTC (rev 14727)
@@ -377,16 +377,6 @@
try {
JSAN.use('util.widgets'); JSAN.use('util.functional');
- var deny_edit_because_of_transit = false;
- for (var i = 0; i < obj.retrieve_ids.length; i++) {
- var hold = obj.holds_map[ obj.retrieve_ids[i].id ].hold;
- if (hold.status() == 3 /* In-Transit */) deny_edit_because_of_transit = true;
- }
- if (deny_edit_because_of_transit) {
- alert(document.getElementById('circStrings').getString('staff.circ.holds.error.may_not_edit_pickup_lib_for_hold_intransit'));
- return;
- }
-
var list = util.functional.map_list(
obj.data.list.aou,
function(o) {
More information about the open-ils-commits
mailing list