From 41fdfaf59174ebfcce3acd4d29adc75bef4f127e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 3 Dec 2015 16:57:12 -0500 Subject: [PATCH] make egCore.pcrud.apply() work Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/services/pcrud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1f78b17ce2..66fdba928b 100644 --- a/Open-ILS/web/js/ui/default/staff/services/pcrud.js +++ b/Open-ILS/web/js/ui/default/staff/services/pcrud.js @@ -267,12 +267,12 @@ angular.module('egCoreMod') var action = this.cud_action; var fm_obj = this.cud_list[this.cud_idx++]; - if (action == 'auto') { + if (action == 'apply') { if (fm_obj.ischanged()) action = 'update'; if (fm_obj.isnew()) action = 'create'; if (fm_obj.isdeleted()) action = 'delete'; - if (action == 'auto') { + if (action == 'apply') { // object does not need updating; move along this._CUD_next_request(); } -- 2.11.0