Repository: ambari Updated Branches: refs/heads/branch-2.4 151c0fd57 -> 1f04e284f
AMBARI-17193 Ambari UI appears to be very slow. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1f04e284 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1f04e284 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1f04e284 Branch: refs/heads/branch-2.4 Commit: 1f04e284ff9f7dfce3888de6d5b0ba18c33b6788 Parents: 151c0fd Author: Andrii Tkach <[email protected]> Authored: Mon Jun 13 16:06:17 2016 +0300 Committer: Andrii Tkach <[email protected]> Committed: Mon Jun 13 17:33:21 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/views/common/configs/service_config_view.js | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1f04e284/ambari-web/app/views/common/configs/service_config_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/configs/service_config_view.js b/ambari-web/app/views/common/configs/service_config_view.js index b74a429..5602832 100644 --- a/ambari-web/app/views/common/configs/service_config_view.js +++ b/ambari-web/app/views/common/configs/service_config_view.js @@ -133,6 +133,12 @@ App.ServiceConfigView = Em.View.extend({ this.checkCanEdit(); }, + willDestroyElement: function() { + //Force configs remove in order to speed up rendering + this.$().detach().remove(); + this._super(); + }, + /** * Check if we should show Custom Property category * @method checkCanEdit
