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)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:51 +0000 (14:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index cd1678c..d58ac9f 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);