webstaff: fix barcode-less issue receiving
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 2 Jun 2017 20:20:37 +0000 (16:20 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 2 Jun 2017 20:20:37 +0000 (16:20 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/serials/services/core.js

index 24bc4bb..c3ecdfa 100644 (file)
@@ -917,6 +917,9 @@ function(egCore , orderByFilter , $q , $filter , $uibModal , ngToast , egConfirm
                     egCore.strings.CONFIRM_CHANGE_ITEMS_MESSAGE[mode],
                     {items : list.length}
                 ).result.then(function () {
+                    angular.forEach(list, function (i, index) {
+                        i._receive = true;
+                    });
                     return $q.when(list);
                 });
             });