From 095c13334995c4d12818215f5b1fd5a4a0814929 Mon Sep 17 00:00:00 2001 From: pines Date: Fri, 5 Jan 2007 21:51:10 +0000 Subject: [PATCH] handle ACTION_TRANSIT_COPY_NOT_FOUND git-svn-id: svn://svn.open-ils.org/ILS/trunk@6734 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index dd5328f370..6e3d444fdb 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -28,6 +28,9 @@ circ.util.abort_transits = function(selection_list) { case 1225 /* TRANSIT_ABORT_NOT_ALLOWED */ : alert('Copy Id = ' + copy_id + '\n' + robj.desc); break; + case 1504 /* ACTION_TRANSIT_COPY_NOT_FOUND */ : + alert('This item was no longer in transit at the time of the abort. Perhaps this happened from a stale display?'); + break; case 5000 /* PERM_FAILURE */ : break; default: -- 2.11.0