trying alternate interface spawning
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 15:38:37 +0000 (15:38 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 15:38:37 +0000 (15:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5465 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 999a277..82056d9 100644 (file)
@@ -497,11 +497,12 @@ function uEditSaveUser(cloneme) {
 
        if (window.xulG && typeof window.xulG.on_save == 'function') {
                _debug("xulG funcs defined...");
+               window.xulG.on_save(newuser, cloneme); 
+
                if( !patron.isnew() && cloneme ) {
                        _debug("calling spawn_editor to clone user...");
                        window.xulG.spawn_editor({ses:cgi.param('ses'),clone:cloneme});
                }
-               window.xulG.on_save(newuser, cloneme); 
 
        } else {