From ac81295c93a1109205112e358c0047c054c00942 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 7 Dec 2005 20:14:58 +0000 Subject: [PATCH] need session git-svn-id: svn://svn.open-ils.org/ILS/trunk@2270 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/display.js | 8 ++++---- 1 file changed, 4 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 5fa35cf419..693609ca93 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -577,10 +577,10 @@ patron.display.prototype = { chain.push( function() { obj.controller.render(); } ); // Do it - JSAN.use('util.exec'); this.exec = new util.exec(); - this.exec.on_error = function(E) { - alert('got here: ' + E); - location.href = '/xul/server/patron/patron_barcode_entry.xul'; + JSAN.use('util.exec'); obj.exec = new util.exec(); + obj.exec.on_error = function(E) { + location.href = '/xul/server/patron/patron_barcode_entry.xul?session=' + window.escape(obj.session); + alert('FIXME: Need better alert and error handling.\nProblem with barcode.\n' + E); } this.exec.chain( chain ); -- 2.43.2