mirror of https://github.com/apache/cloudstack.git
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:
parent
724835e75c
commit
f38f7a9a4d
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue