Detail view, multi-group actions: Prevent refresh of all tabs Prevent call to updateTabContent, which will switch the detail view off the current tab on action complete.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6b1da422 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6b1da422 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6b1da422 Branch: refs/heads/internallb Commit: 6b1da42221832b211c2ae4ae8a95f123a18d4e69 Parents: 9db639c Author: Brian Federle <[email protected]> Authored: Fri Apr 26 15:32:15 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Fri Apr 26 15:32:15 2013 -0700 ---------------------------------------------------------------------- ui/scripts/ui/widgets/detailView.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6b1da422/ui/scripts/ui/widgets/detailView.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui/widgets/detailView.js b/ui/scripts/ui/widgets/detailView.js index 122953a..a721a44 100644 --- a/ui/scripts/ui/widgets/detailView.js +++ b/ui/scripts/ui/widgets/detailView.js @@ -199,7 +199,11 @@ $loading.remove(); if (!noRefresh && !viewArgs.compact) { - updateTabContent(args.data? args.data : args2.data); + if (isMultiple) { + $detailView.find('.refresh').click(); + } else { + updateTabContent(args.data? args.data : args2.data); + } } }
