handle ACTION_TRANSIT_COPY_NOT_FOUND
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Jan 2007 21:51:10 +0000 (21:51 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Jan 2007 21:51:10 +0000 (21:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6734 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/util.js

index 3c8a350..6000a20 100644 (file)
@@ -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: