From 948da57ad37e467b319868198ed892025de5c1bf Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 14 Jan 2012 13:22:55 +0000 Subject: [PATCH] fixed confirmation dialog --- lam/templates/lib/500_lam.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index 81c8028c..cabf9979 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2011 Roland Gruber + Copyright (C) 2003 - 2012 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -309,6 +309,8 @@ function showConfirmationDialog(title, okText, cancelText, dialogDiv, formName) buttons: buttonList, width: 'auto' }); + /* reattach dialog to form */ + jQuery('#' + dialogDiv).parent().appendTo(document.forms[formName]); }