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 65ecbcae0b
commit 0194ca1954

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