mirror of https://github.com/apache/cloudstack.git
NICs, add action: Fix for when detail view isn't present anymore
This commit is contained in:
parent
9bd6692be0
commit
ece8b8c423
|
|
@ -1087,10 +1087,12 @@
|
|||
{ actions: tabData.actions, actionName: 'add' }, {
|
||||
noRefresh: true,
|
||||
complete: function(args) {
|
||||
loadTabContent(
|
||||
$detailView.find('div.detail-group:visible'),
|
||||
$detailView.data('view-args')
|
||||
);
|
||||
if ($detailView.is(':visible')) {
|
||||
loadTabContent(
|
||||
$detailView.find('div.detail-group:visible'),
|
||||
$detailView.data('view-args')
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue