tweak
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Dec 2005 03:47:53 +0000 (03:47 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Dec 2005 03:47:53 +0000 (03:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2510 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js

index 0e93eef..5a362be 100644 (file)
@@ -214,7 +214,7 @@ patron.display.prototype = {
                                                obj.controller.view.cmd_patron_info.setAttribute('disabled','false');
 
                                                if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
-                                                       try { window.xulG.set_tab_name(patron.family_name() + ' : ' + patron.card().barcode() ); } 
+                                                       try { window.xulG.set_tab_name('Patron: ' + patron.family_name() + ', ' + patron.first_given_name() + ' ' + patron.second_given_name() ); } 
                                                        catch(E) { alert(E); }
                                                }