From 30c6738c9bccb3a243b16ca62de82491fad8b4c2 Mon Sep 17 00:00:00 2001 From: pines Date: Mon, 21 May 2007 14:39:08 +0000 Subject: [PATCH] disable caching of patron summary in search interface for now; the alternative is to use query params here. Need to key off something other than URL if I don't want to use query params and want the deck/iframe library to keep multiple instances of the interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@7352 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/display.js | 2 +- Open-ILS/xul/staff_client/server/patron/search_form.xul | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index b1c686474e..2c82455e46 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -522,7 +522,7 @@ patron.display.prototype = { document.documentElement.setAttribute('class',''); setTimeout( function() { - var frame = obj.left_deck.set_iframe( + var frame = obj.left_deck.reset_iframe( urls.XUL_PATRON_SUMMARY, // + '?id=' + window.escape(list[0]), {}, { diff --git a/Open-ILS/xul/staff_client/server/patron/search_form.xul b/Open-ILS/xul/staff_client/server/patron/search_form.xul index 49ea8d91ae..322596a77b 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_form.xul +++ b/Open-ILS/xul/staff_client/server/patron/search_form.xul @@ -62,10 +62,8 @@ } catch(E) { var err_msg = "!! This software has encountered an error. Please tell your friendly " + - "system administrator or software developer the following:\n" - 'patron/search_form.xul\n' + E + '\n'; + "system administrator or software developer the following:\n" + 'patron/search_form.xul\n' + E + '\n'; try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); } - alert(E); alert(err_msg); } } -- 2.43.2