ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-17193 Ambari UI appears to be very slow. (atkach)
Date Mon, 13 Jun 2016 14:31:36 GMT
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 <atkach@apache.org>
Authored: Mon Jun 13 16:06:17 2016 +0300
Committer: Andrii Tkach <atkach@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


Mime
View raw message