From 13ee16a3ba7cc8ea3d0d56b8937bc21ba1a0f174 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Aug 2006 15:30:28 +0000 Subject: [PATCH] testing clone git-svn-id: svn://svn.open-ils.org/ILS/trunk@5461 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.js b/Open-ILS/xul/staff_client/server/patron/ue.js index 4a017b8511..eb935ab32d 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.js +++ b/Open-ILS/xul/staff_client/server/patron/ue.js @@ -496,6 +496,8 @@ function uEditSaveUser(cloneme) { } if (window.xulG && typeof window.xulG.on_save == 'function') { + if( patron.isnew() && cloneme ) + window.xulG.spawn_editor({ses:cgi.param('ses'),usr:id,clone:cloneme}); window.xulG.on_save(newuser, cloneme); } else { -- 2.11.0