From 8a04badf77c6da58afef7c10e12f04bc2ebae652 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 15 Nov 2010 01:45:11 +0000 Subject: [PATCH] Do not cache the authority context menu Caching would be great, except when you add an authority in the flow and you expect to see it the next time you right-click on the authority that you just added. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18727 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 3ee7f8c929..add1cbca27 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -2334,7 +2334,7 @@ function browseAuthority (sf_popup, menu_id, target, sf, limit, page) { ; // would be good to carve this out into a separate function - dojo.xhrGet({"url":url, "sync": true, "handleAs":"xml", "load": function(records) { + dojo.xhrGet({"url":url, "sync": true, "preventCache": true, "handleAs":"xml", "load": function(records) { var create_menu = createMenu({ label: $('catStrings').getString('staff.cat.marcedit.create_authority.label')}); var cm_popup = create_menu.appendChild( -- 2.11.0