mirror of https://github.com/apache/cloudstack.git
CS-16567: Support quickview for custom actions
For custom actions (such as enable static NAT), fix instance list row not updating when accessing via the quickview.
This commit is contained in:
parent
525f96b7ae
commit
0b2e5f1b17
|
|
@ -104,6 +104,10 @@
|
|||
context: context,
|
||||
$detailView: $detailView,
|
||||
complete: function(args) {
|
||||
if (viewArgs && viewArgs.onPerformAction) {
|
||||
viewArgs.onPerformAction();
|
||||
}
|
||||
|
||||
// Set loading appearance
|
||||
var $loading = $('<div>').addClass('loading-overlay');
|
||||
|
||||
|
|
@ -123,6 +127,10 @@
|
|||
|
||||
// Success
|
||||
function(args) {
|
||||
if (viewArgs && viewArgs.onActionComplete) {
|
||||
viewArgs.onActionComplete();
|
||||
}
|
||||
|
||||
if (!$detailView.parents('html').size()) return;
|
||||
|
||||
$loading.remove();
|
||||
|
|
|
|||
Loading…
Reference in New Issue