fixed confirmation dialog

This commit is contained in:
Roland Gruber 2012-01-14 13:22:55 +00:00
parent d1b0394695
commit 948da57ad3
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) 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 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 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, buttons: buttonList,
width: 'auto' width: 'auto'
}); });
/* reattach dialog to form */
jQuery('#' + dialogDiv).parent().appendTo(document.forms[formName]);
} }