patron display on successfull patron registration
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 15:01:40 +0000 (15:01 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 15:01:40 +0000 (15:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1425 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/patron/patron_new_legacy.xul

index 2e71cbf..7542866 100644 (file)
@@ -8,7 +8,9 @@
 
 <page id="patron_new_win" orient="vertical" style="overflow: auto;" persist="width height"
        onload="try {
-                       window.patron_save_callback = function patron_save_callback(p) { alert('got here'); };
+                       window.patron_save_callback = function patron_save_callback(p) { 
+                               mw.spawn_patron_display(parent.document, 'replace_tab', 'main_tabbox', { 'patron' : p.au });
+                       };
                        patron_init(); patron_new_init(); patron_edit_init();
                } catch(E) {
                        alert('onload patron_new_win: ' + E);