From 25445422e716a4982488b7d96ce8f161cd31b858 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Aug 2006 15:38:37 +0000 Subject: [PATCH] trying alternate interface spawning 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 999a2771bc..82056d9b23 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -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 { -- 2.11.0