Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b3ca260b1 -> 546323535


AMBARI-11924 Widgets: delete in widget browser does not reflect the delete. 
(ababiichuk)


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

Branch: refs/heads/branch-2.1
Commit: 54632353542254d14df7410ff4df8274e0f96aa9
Parents: b3ca260
Author: aBabiichuk <[email protected]>
Authored: Mon Jun 15 10:53:35 2015 +0300
Committer: aBabiichuk <[email protected]>
Committed: Mon Jun 15 12:06:40 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/summary.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/54632353/ambari-web/app/controllers/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/summary.js 
b/ambari-web/app/controllers/main/service/info/summary.js
index 779ccdd..b26183c 100644
--- a/ambari-web/app/controllers/main/service/info/summary.js
+++ b/ambari-web/app/controllers/main/service/info/summary.js
@@ -432,6 +432,8 @@ App.MainServiceInfoSummaryController = 
Em.Controller.extend(App.WidgetSectionMix
           });
         })
       );
+    } else {
+      this.set("mineWidgets", []);
     }
     this.set('isMineWidgetsLoaded', true);
   },

Reply via email to