[open-ils-commits] r7828 -
trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 25 12:16:36 EDT 2007
Author: phasefx
Date: 2007-09-25 12:06:51 -0400 (Tue, 25 Sep 2007)
New Revision: 7828
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
clear out thaw_date if setting hold freeze to false
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2007-09-25 15:53:54 UTC (rev 7827)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2007-09-25 16:06:51 UTC (rev 7828)
@@ -614,7 +614,11 @@
if (r == 0) {
for (var i = 0; i < obj.retrieve_ids.length; i++) {
var hold = obj.holds_map[ obj.retrieve_ids[i].id ];
- hold.frozen( freeze ); hold.ischanged('1');
+ hold.frozen( freeze );
+ if ( ! get_bool( freeze ) ) {
+ hold.thaw_date( null );
+ }
+ hold.ischanged('1');
var robj = obj.network.simple_request('FM_AHR_UPDATE',[ ses(), hold ]);
if (typeof robj.ilsevent != 'undefined') throw(robj);
}
More information about the open-ils-commits
mailing list