Browse Source

AMBARI-3351 UI optimization: reduce parameters of request for configuration tags. (atkach)

atkach 11 years ago
parent
commit
6df878b7d6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ambari-web/app/utils/ajax.js

+ 3 - 3
ambari-web/app/utils/ajax.js

@@ -158,11 +158,11 @@ var urls = {
     }
   },
   'config.tags': {
-    'real': '/clusters/{clusterName}',
+    'real': '/clusters/{clusterName}?fields=Clusters/desired_configs',
     'mock': '/data/clusters/cluster.json'
   },
   'config.tags.sync': {
-    'real': '/clusters/{clusterName}',
+    'real': '/clusters/{clusterName}?fields=Clusters/desired_configs',
     'mock': '/data/clusters/cluster.json',
     'format': function (data) {
       return {
@@ -486,7 +486,7 @@ var urls = {
     }
   },
   'admin.security_status': {
-    'real': '/clusters/{clusterName}',
+    'real': '/clusters/{clusterName}?fields=Clusters/desired_configs',
     'mock': '',
     'format': function (data, opt) {
       return {