From 9ecc55d4045409e049c59dace733c8d2d85fba9a Mon Sep 17 00:00:00 2001 From: Yamil Suarez Date: Mon, 29 Sep 2014 14:58:49 -0400 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/cat/authority/list.js | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0