You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/30 21:20:42 UTC
[20/22] git commit: updated refs/heads/master to c7143be
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/master
Commit: 6b1da42221832b211c2ae4ae8a95f123a18d4e69
Parents: 9db639c
Author: Brian Federle <br...@citrix.com>
Authored: Fri Apr 26 15:32:15 2013 -0700
Committer: Brian Federle <br...@citrix.com>
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);
+ }
}
}