From 3e548a2893f8521278f6bdf331d35f14e1c17a75 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 7 Feb 2018 12:20:47 -0500 Subject: [PATCH] LP#1676608: fix glitch with egCore.pcrud.apply() pcrud.apply() is supposed to skip any entries in the list of CUD actions that don't explicitly mark themselves as being a creation, update, or deletion, but didn't manage to fully skip them. As a consequence, the browser console would note complaints that open-ils.pcrud.apply.$IDLCLASS methods do not exist. Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/staff/services/pcrud.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/web/js/ui/default/staff/services/pcrud.js b/Open-ILS/web/js/ui/default/staff/services/pcrud.js index 72cb94ec84..95e3aa24b9 100644 --- a/Open-ILS/web/js/ui/default/staff/services/pcrud.js +++ b/Open-ILS/web/js/ui/default/staff/services/pcrud.js @@ -278,6 +278,7 @@ angular.module('egCoreMod') if (action == 'apply') { // object does not need updating; move along this._CUD_next_request(); + return; } } -- 2.11.0