webstaff: Mark new copy notes as new, so they will save.
authorMike Rylander <mrylander@gmail.com>
Fri, 9 Oct 2015 19:51:11 +0000 (15:51 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 9 Oct 2015 19:51:11 +0000 (15:51 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index a58cfca..f94d901 100644 (file)
@@ -1416,6 +1416,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore ,
                     if (note.initials) note.value += ' [' + note.initials + ']';
                     angular.forEach(copy_list, function (cp) {
                         var n = new egCore.idl.acpn();
+                        n.isnew(1);
                         n.creator(note.creator);
                         n.pub(note.pub);
                         n.title(note.title);