mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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
65ecbcae0b
commit
0194ca1954
@ -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…
x
Reference in New Issue
Block a user