Projects UI: fix dialog

Remove closeOnEscape from $(':ui-dialog') option calls, as they cause
JS errors breaking the projects UI. closeOnEscape is already defined
when the dialog is initialized, so these don't need to be defined
again.
This commit is contained in:
Brian Federle 2012-04-05 13:38:08 -07:00
parent 724835e75c
commit f38f7a9a4d
1 changed files with 2 additions and 2 deletions

View File

@ -466,14 +466,14 @@
return $review;
});
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
$(':ui-dialog').dialog('option', 'position', 'center');
});
$laterButton.html(_l('label.close')).appendTo($userManagement);
return $userManagement;
});
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
$(':ui-dialog').dialog('option', 'position', 'center');
return false;
});