From c0a2453d675cfad07a37a7fd0440b56be159c949 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Thu, 7 Jan 2016 14:34:18 -0500 Subject: [PATCH] Differentiate patron interface URLs for decks This prevents the deck code from thinking they are the same page, despite both using the browser wrapper as their base URL. Signed-off-by: Thomas Berezansky --- Open-ILS/xul/staff_client/server/patron/display.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index bf3ff02af8..7eaca57729 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -336,7 +336,7 @@ patron.display.prototype = { ['command'], function(ev) { obj.right_deck.set_iframe( - xulG.url_prefix(urls.XUL_REMOTE_BROWSER), + xulG.url_prefix(urls.XUL_REMOTE_BROWSER) + '?triggered_events', {}, { 'url': urls.EG_TRIGGER_EVENTS + "?patron_id=" + obj.patron.id(), @@ -350,7 +350,7 @@ patron.display.prototype = { ['command'], function(ev) { obj.right_deck.set_iframe( - xulG.url_prefix(urls.XUL_REMOTE_BROWSER), + xulG.url_prefix(urls.XUL_REMOTE_BROWSER) + '?message_center', {}, { 'url': urls.EG_PATRON_MESSAGE_CENTER + "/" + obj.patron.id(), -- 2.11.0