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]); }