Maybe it's good that I'm starting to think all libraries are object libraries instead...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Dec 2005 21:38:22 +0000 (21:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Dec 2005 21:38:22 +0000 (21:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2474 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bill_wizard.xul

index 3c7081d..3c7b6dc 100644 (file)
@@ -47,8 +47,8 @@
                                g.session = g.cgi.param('session');
                                g.patron_id = g.cgi.param('patron_id');
 
-                               JSAN.use('patron.util'); g.patron = new patron.util();
-                               g.au_obj = g.patron.retrieve_au_via_id( g.session, g.patron_id );
+                               JSAN.use('patron.util'); 
+                               g.au_obj = patron.util.retrieve_au_via_id( g.session, g.patron_id );
                                
                                document.getElementById('patron_name').setAttribute('value',
                                        g.au_obj.family_name() + ', ' + g.au_obj.first_given_name() + ' : ' + g.au_obj.card().barcode() );