From: Galen Charlton Date: Thu, 3 Dec 2015 21:57:12 +0000 (-0500) Subject: make egCore.pcrud.apply() work X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41fdfaf59174ebfcce3acd4d29adc75bef4f127e;p=working%2FEvergreen.git make egCore.pcrud.apply() work Signed-off-by: Galen Charlton --- 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(); }