[open-ils-commits] r18727 - trunk/Open-ILS/xul/staff_client/server/cat (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 14 20:45:13 EST 2010
Author: dbs
Date: 2010-11-14 20:45:11 -0500 (Sun, 14 Nov 2010)
New Revision: 18727
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
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.
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2010-11-14 03:23:11 UTC (rev 18726)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2010-11-15 01:45:11 UTC (rev 18727)
@@ -2334,7 +2334,7 @@
;
// 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(
More information about the open-ils-commits
mailing list