From: Yamil Suarez Date: Mon, 29 Sep 2014 18:58:49 +0000 (-0400) Subject: First workround to try to keep manage authoritties from needing a reload X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9ecc55d4045409e049c59dace733c8d2d85fba9a;p=working%2FEvergreen.git First workround to try to keep manage authoritties from needing a reload After hitting "save" on an authority record (editor window), this fix llows other records to be opened for editing. I on't think this is the best solution/apporach. Only an experiment. Signed-off-by: Yamil Suarez --- diff --git a/Open-ILS/web/js/ui/default/cat/authority/list.js b/Open-ILS/web/js/ui/default/cat/authority/list.js index 4c42b90b4d..946d0747c9 100644 --- a/Open-ILS/web/js/ui/default/cat/authority/list.js +++ b/Open-ILS/web/js/ui/default/cat/authority/list.js @@ -112,6 +112,7 @@ function displayAuthorities(data) { // "Edit" menu item new dijit.MenuItem({"id": "edit_" + auth.id, "onClick": function(){ + pcrud = new openils.PermaCrud(); var auth_rec = pcrud.retrieve("are", auth.id); if (auth_rec) { loadMarcEditor(pcrud, auth_rec);