use the .desc for the event
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Aug 2006 04:43:24 +0000 (04:43 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Aug 2006 04:43:24 +0000 (04:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5771 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index f98285f..21f958a 100644 (file)
@@ -577,7 +577,7 @@ circ.checkout.prototype = {
                                                                                } else {
                                                                                        switch(robj.ilsevent) {
                                                                                                case 1225 /* TRANSIT_ABORT_NOT_ALLOWED */ :
-                                                                                                       alert('This transit may not be aborted due to a problem status.  It needs to be returned to its circulating library.');
+                                                                                                       alert(robj.desc);
                                                                                                break;
                                                                                                case 5000 /* PERM_FAILURE */ :
                                                                                                break;
index abe380f..a0d8470 100644 (file)
@@ -26,7 +26,7 @@ circ.util.abort_transits = function(selection_list) {
                                if (typeof robj.ilsevent != 'undefined') {
                                        switch(robj.ilsevent) {
                                                case 1225 /* TRANSIT_ABORT_NOT_ALLOWED */ :
-                                                       alert('This transit for copy ' + copy_id + ' may not be aborted due to a problem status.  It needs to be returned to its circulating library.');
+                                                       alert('Copy Id = ' + copy_id + '\n' + robj.desc);
                                                break;
                                                case 5000 /* PERM_FAILURE */ :
                                                break;