You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2016/06/13 14:31:36 UTC
ambari git commit: AMBARI-17193 Ambari UI appears to be very slow.
(atkach)
Repository: ambari
Updated Branches:
refs/heads/trunk 0821a3111 -> e2dc31a1a
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/e2dc31a1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e2dc31a1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e2dc31a1
Branch: refs/heads/trunk
Commit: e2dc31a1a4be99f397f05f493d0893b188263a3e
Parents: 0821a31
Author: Andrii Tkach <at...@apache.org>
Authored: Mon Jun 13 16:06:17 2016 +0300
Committer: Andrii Tkach <at...@apache.org>
Committed: Mon Jun 13 17:31:07 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/e2dc31a1/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