Repository: ambari Updated Branches: refs/heads/trunk a0a2524a5 -> 4d43586c9
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/4d43586c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4d43586c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4d43586c Branch: refs/heads/trunk Commit: 4d43586c98dca0cde6acbac4ab930db7299ef31f Parents: a0a2524 Author: aBabiichuk <[email protected]> Authored: Mon Jun 15 10:53:35 2015 +0300 Committer: aBabiichuk <[email protected]> Committed: Mon Jun 15 10:53:35 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/4d43586c/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); },
