Assuming the Trim List box is not selected, this simply refreshes selected rows
in the Item Status interface that were used to provide context for the Actions
for Catalogers -> Edit Volumes command. If Trim List is selected, then the items
are instead re-added to top of the list.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
}
JSAN.use('cat.util'); cat.util.batch_edit_volumes( volumes );
+ var funcs = [];
+ for (var i = 0; i < obj.selection_list.length; i++) {
+ var barcode = obj.selection_list[i].barcode;
+ funcs.push( function(a) { return function() { obj.copy_status( a, true ); }; }(barcode) );
+ }
+ for (var i = 0; i < funcs.length; i++) { funcs[i](); }
+
} catch(E) {
obj.error.standard_unexpected_error_alert('Copy Status -> Volume Edit',E);