From 036ce850ba7b625077078137704001128a6de025 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Thu, 7 Jan 2016 14:34:18 -0500 Subject: [PATCH] LP#1531976: fix bringing up Mesage Center and Triggered Events This patch fixes a bug in the XUL staff client where using Other -> Triggered Events from the patron page, then Other -> Message Center, only brings up the Triggered Events page in both cases (and vice versa). This patch works by preventing 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 Signed-off-by: Chris Sharp Signed-off-by: Galen Charlton --- 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