[open-ils-commits] r15691 - in branches/rel_1_6/Open-ILS/xul/staff_client: chrome/content/main server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 4 10:28:03 EST 2010
Author: phasefx
Date: 2010-03-04 10:28:01 -0500 (Thu, 04 Mar 2010)
New Revision: 15691
Modified:
branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/main/menu.js
branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js
Log:
When the patron search interface is spawned from the patron registration interface for listing potential duplicate patrons, correctly handle the horizontal patron summary setting.
Modified: branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2010-03-04 15:27:56 UTC (rev 15690)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2010-03-04 15:28:01 UTC (rev 15691)
@@ -1061,10 +1061,7 @@
'spawn_search' : function(s) {
var obj = this;
obj.error.sdump('D_TRACE', offlineStrings.getFormattedString('menu.spawn_search.msg', [js2JSON(s)]) );
- obj.data.stash_retrieve();
- var loc = obj.url_prefix(urls.XUL_PATRON_DISPLAY);
- loc += '?doit=1&query=' + window.escape(js2JSON(s));
- obj.new_tab( loc, {}, {} );
+ obj.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } );
},
'init_tab_focus_handlers' : function() {
Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js 2010-03-04 15:27:56 UTC (rev 15690)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/display.js 2010-03-04 15:28:01 UTC (rev 15691)
@@ -210,7 +210,7 @@
function spawn_search(s) {
obj.error.sdump('D_TRACE', $("commonStrings").getFormattedString('staff.patron.display.cmd_patron_edit.edit_search', [js2JSON(s)]) );
obj.OpenILS.data.stash_retrieve();
- xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : s } );
+ xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } );
}
function spawn_editor(p) {
More information about the open-ils-commits
mailing list