[open-ils-commits] r18729 - branches/rel_2_0/Open-ILS/xul/staff_client/server/cat (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 14 23:52:45 EST 2010


Author: dbs
Date: 2010-11-14 23:52:42 -0500 (Sun, 14 Nov 2010)
New Revision: 18729

Modified:
   branches/rel_2_0/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: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js	2010-11-15 04:50:22 UTC (rev 18728)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js	2010-11-15 04:52:42 UTC (rev 18729)
@@ -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