Updated Branches:
  refs/heads/master 199806c1b -> cb35d83b8

CLOUDSTACK-604:When editting pod/cluster in UI, there's no save button: A 
generic issue with the widget where the content from another tab to the 
adjacent one gets appended :resolved by making the detailsView widget change


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/cb35d83b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/cb35d83b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/cb35d83b

Branch: refs/heads/master
Commit: cb35d83b85dcd9a210080d1ce2b27dad55d30511
Parents: 199806c
Author: Pranav Saxena <[email protected]>
Authored: Tue Dec 11 04:22:09 2012 +0530
Committer: Pranav Saxena <[email protected]>
Committed: Tue Dec 11 04:22:09 2012 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/detailView.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/cb35d83b/ui/scripts/ui/widgets/detailView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/detailView.js 
b/ui/scripts/ui/widgets/detailView.js
index 60fbfb9..4b4fbd5 100644
--- a/ui/scripts/ui/widgets/detailView.js
+++ b/ui/scripts/ui/widgets/detailView.js
@@ -942,6 +942,8 @@
       }).appendTo($tabContent);
     }
 
+    $detailView.find('.detail-group:hidden').html('');
+
     if (tabs.listView) {
       return $('<div>').listView({
         context: args.context,

Reply via email to