[open-ils-commits] r13200 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun May 17 04:58:10 EDT 2009
Author: phasefx
Date: 2009-05-17 04:58:05 -0400 (Sun, 17 May 2009)
New Revision: 13200
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul
Log:
make sure these patron sub-interfaces can spawn new patron tabs if need be. Fixes Retrieve Patron from Group interface
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-17 08:43:05 UTC (rev 13199)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2009-05-17 08:58:05 UTC (rev 13200)
@@ -193,7 +193,8 @@
obj.bill_window.g.bills.refresh(true);
},
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
@@ -232,6 +233,7 @@
'spawn_editor' : spawn_editor,
'url_prefix' : xulG.url_prefix,
'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab,
'params' : p
}
}
@@ -266,7 +268,8 @@
'spawn_search' : spawn_search,
'spawn_editor' : spawn_editor,
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
}
);
@@ -289,7 +292,8 @@
{
'patron_id' : obj.patron.id(),
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
}
@@ -303,7 +307,8 @@
{
'patron_id' : obj.patron.id(),
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
}
@@ -317,7 +322,8 @@
{
'patron_id' : obj.patron.id(),
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
}
@@ -331,7 +337,8 @@
{
'patron_id' : obj.patron.id(),
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
}
@@ -373,7 +380,8 @@
obj.refresh_all();
},
'url_prefix' : xulG.url_prefix,
- 'new_tab' : xulG.new_tab
+ 'new_tab' : xulG.new_tab,
+ 'new_patron_tab' : xulG.new_patron_tab
}
);
} catch(E) {
Modified: trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul 2009-05-17 08:43:05 UTC (rev 13199)
+++ trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul 2009-05-17 08:58:05 UTC (rev 13200)
@@ -185,7 +185,7 @@
function retrieve_patron() {
try {
if (! g.sel_list ) return;
- if (typeof window.xulG == 'object' && typeof window.xulG.new_tab == 'function') {
+ if (typeof window.xulG == 'object' && typeof window.xulG.new_patron_tab == 'function') {
for (var i = 0; i < g.sel_list.length; i++) {
try {
window.xulG.new_patron_tab(
More information about the open-ils-commits
mailing list