[open-ils-commits] r7871 -
trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Oct 7 17:02:37 EDT 2007
Author: phasefx
Date: 2007-10-07 16:51:11 -0400 (Sun, 07 Oct 2007)
New Revision: 7871
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
Log:
reverting back to not destroying patron summary sidebars in the patron search interface. Things that can help here: better destruction of outstanding callbacks, and a deck class that key off of something other than URL's
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2007-10-05 00:07:24 UTC (rev 7870)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2007-10-07 20:51:11 UTC (rev 7871)
@@ -357,7 +357,7 @@
obj.controller.view.cmd_patron_info.setAttribute('disabled','true');
obj.controller.view.patron_name.setAttribute('value','Retrieving...');
document.documentElement.setAttribute('class','');
- var frame = obj.left_deck.reset_iframe(
+ var frame = obj.left_deck.set_iframe(
urls.XUL_PATRON_SUMMARY,
{},
{
@@ -522,11 +522,11 @@
document.documentElement.setAttribute('class','');
setTimeout(
function() {
- var frame = obj.left_deck.reset_iframe(
- urls.XUL_PATRON_SUMMARY, // + '?id=' + window.escape(list[0]),
+ var frame = obj.left_deck.set_iframe(
+ urls.XUL_PATRON_SUMMARY + '?id=' + window.escape(list[0]),
{},
{
- 'id' : list[0],
+ //'id' : list[0],
'on_finished' : function(patron) {
obj.patron = patron;
obj.controller.render();
More information about the open-ils-commits
mailing list