don't fuss if staff do not override TITLE_LAST_COPY here
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 15:45:12 +0000 (15:45 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 15:45:12 +0000 (15:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13525 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_buckets.js

index 60a02b5..ddbe06b 100644 (file)
@@ -501,6 +501,9 @@ cat.copy_buckets.prototype = {
                                                                );
                                                                if (typeof robj.ilsevent != 'undefined') {
                                                                        switch(Number(robj.ilsevent)) {
+                                                                               case 1208 /* TITLE_LAST_COPY */ :
+                                                                                       // ignore this
+                                                                               break;
                                                                                case 1227 /* COPY_DELETE_WARNING */ : 
                                                                                        var copy;
                                                                                        for (var i = 0; i < copies.length; i++) { if (copies[i].id()==robj.payload) copy = function(a){return a;}(copies[i]); }