From 0194ca1954891ad947371c81d3e5ce5699c44c4f Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 5 Apr 2012 13:38:08 -0700 Subject: [PATCH] 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. --- ui/scripts/ui-custom/projects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js index cadc963eb2e..e5235e84bf8 100644 --- a/ui/scripts/ui-custom/projects.js +++ b/ui/scripts/ui-custom/projects.js @@ -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; });