mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 07:48:39 -05:00
Moved jqueryui dialog creation to a shared module along with textarea auto-sizing. Inventory host edit dialog is now constructed using this new module. Fixed host enabled flag on the host edit dialog so that it is disabled for externally managed hosts.
This commit is contained in:
@@ -703,8 +703,19 @@ function(SchedulerInit, Rest, Wait, SetSchedulesInnerDialogSize) {
|
||||
// remove lingering popover <div> elements
|
||||
$(this).remove();
|
||||
});
|
||||
if (properties_scope.codeMirror) {
|
||||
properties_scope.codeMirror.destroy();
|
||||
}
|
||||
if (sources_scope.codeMirror) {
|
||||
sources_scope.codeMirror.destroy();
|
||||
}
|
||||
$('#group-modal-dialog').dialog('destroy');
|
||||
$('#group-modal-dialog').hide();
|
||||
$('#properties-tab').empty();
|
||||
$('#sources-tab').empty();
|
||||
$('#schedules-list').empty();
|
||||
$('#schedules-form').empty();
|
||||
$('#schedules-detail').empty();
|
||||
modal_scope.cancelModal();
|
||||
},
|
||||
open: function () {
|
||||
|
||||
Reference in New Issue
Block a user