From 2bd6d0bd6763815e3a051ee20ac4bd463ad5aad5 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Sun, 3 Jul 2011 16:38:56 -0400 Subject: [PATCH] Menu item for "portal" To return a tab to "new" state without close/reopen Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander --- Open-ILS/web/opac/locale/en-US/lang.dtd | 2 ++ Open-ILS/xul/staff_client/chrome/content/main/menu.js | 6 ++++++ Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul | 2 ++ 3 files changed, 10 insertions(+) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index b0e907f56f..ba5ce6309b 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1072,6 +1072,8 @@ + + diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 8d179c034a..a68b9bf94d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -265,6 +265,12 @@ main.menu.prototype = { } } ], + 'cmd_portal' : [ + ['oncommand'], + function() { + obj.set_tab(); + } + ], 'cmd_close_tab' : [ ['oncommand'], function() { obj.close_tab(); } diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 480ac2bbf7..014ffab0aa 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -14,6 +14,7 @@ + @@ -243,6 +244,7 @@ + -- 2.11.0