logic error
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 15:34:54 +0000 (15:34 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 15:34:54 +0000 (15:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5463 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index f95031d..c290843 100644 (file)
@@ -497,7 +497,7 @@ function uEditSaveUser(cloneme) {
 
        if (window.xulG && typeof window.xulG.on_save == 'function') {
                _debug("xulG funcs defined...");
-               if( patron.isnew() && cloneme ) {
+               if( !patron.isnew() && cloneme ) {
                        _debug("calling spawn_editor to clone user...");
                        window.xulG.spawn_editor({ses:cgi.param('ses'),usr:id,clone:cloneme});
                }