Fixed regression due to the update of JQuery UI

SVN:trunk[2781]
This commit is contained in:
Romain Quetiez
2013-06-26 16:25:53 +00:00
parent 57e51e44f1
commit 721a654152

View File

@@ -268,7 +268,7 @@ $('#$sDialogId').dialog({
title: '$sDialogTitle',
buttons: [
{ text: "$sOkButtonLabel", click: function() {
var oForm = $(this).parents('.ui-dialog :first').find('form');
var oForm = $(this).closest('.ui-dialog').find('form');
oForm.submit();
} },
{ text: "$sCancelButtonLabel", click: function() { KillAllMenus(); $(this).dialog( "close" ); $(this).remove(); } },