mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
Merge pull request #571 from jaredevantabor/6551
Band aid for rapidly deleting groups
This commit is contained in:
@@ -141,9 +141,11 @@
|
|||||||
} else {
|
} else {
|
||||||
$state.go($state.current, reloadListStateParams, {reload: true});
|
$state.go($state.current, reloadListStateParams, {reload: true});
|
||||||
}
|
}
|
||||||
$('#group-delete-modal').modal('hide');
|
setTimeout(function(){
|
||||||
$('body').removeClass('modal-open');
|
$('#group-delete-modal').modal('hide');
|
||||||
$('.modal-backdrop').remove();
|
$('body').removeClass('modal-open');
|
||||||
|
$('.modal-backdrop').remove();
|
||||||
|
}, 1000);
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -153,9 +155,11 @@
|
|||||||
} else {
|
} else {
|
||||||
$state.go($state.current, reloadListStateParams, {reload: true});
|
$state.go($state.current, reloadListStateParams, {reload: true});
|
||||||
}
|
}
|
||||||
$('#group-delete-modal').modal('hide');
|
setTimeout(function(){
|
||||||
$('body').removeClass('modal-open');
|
$('#group-delete-modal').modal('hide');
|
||||||
$('.modal-backdrop').remove();
|
$('body').removeClass('modal-open');
|
||||||
|
$('.modal-backdrop').remove();
|
||||||
|
}, 1000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="Modal-title ng-binding">
|
<div class="Modal-title ng-binding">
|
||||||
<span translate>Delete Group</span>
|
<span translate>Delete Group</span>
|
||||||
<a href="" id="awp-promote" href=""
|
<a href="" id="awp-promote" href=""
|
||||||
aw-pop-over="<dl><dt>Delete</dt><dd>Deletes groups and hosts associated with the group being deleted. If a group or host is associated with other groups, it will still exist within those groups. Otherwise, the associated groups and hosts will no longer appear in the inventory.</dd>\n<dt style='margin-top: 5px;'>Promote</dt><dd>Groups and hosts associated with the group being removed will be promoted root level. Note: groups already associated with other groups cannot be promoted.</dd></dl>\n" aw-tool-tip="Click for help"
|
aw-pop-over="<dl><dt>Delete</dt><dd>Deletes groups and hosts associated with the group being deleted. If a group or host is associated with other groups, it will still exist within those groups. Otherwise, the associated groups and hosts will no longer appear in the inventory.</dd><dt style='margin-top: 5px;'>Promote</dt><dd>Groups and hosts associated with the group being removed will be promoted root level. Note: groups already associated with other groups cannot be promoted.</dd></dl>" aw-tool-tip="Click for help"
|
||||||
data-placement="right"
|
data-placement="right"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
data-title="Delete Group"
|
data-title="Delete Group"
|
||||||
|
|||||||
Reference in New Issue
Block a user