ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [39/50] [abbrv] ambari git commit: AMBARI-21218 Enable Kerberos UI is blank the first time opens it (dili)
Date Mon, 12 Jun 2017 16:45:46 GMT
AMBARI-21218 Enable Kerberos UI is blank the first time opens it (dili)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2bea1205
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2bea1205
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2bea1205

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 2bea1205e213db7fc35fc9a0aac0453bbdeaa417
Parents: d97aa1d
Author: Di Li <dili@apache.org>
Authored: Fri Jun 9 16:37:40 2017 -0400
Committer: Di Li <dili@apache.org>
Committed: Fri Jun 9 16:37:40 2017 -0400

----------------------------------------------------------------------
 .../app/controllers/main/admin/stack_and_upgrade_controller.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2bea1205/ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js b/ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
index a676f7429..3483b29 100644
--- a/ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
+++ b/ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
@@ -1863,7 +1863,7 @@ App.MainAdminStackAndUpgradeController = Em.Controller.extend(App.LocalStorage,
    * get the installed repositories of HDP from server
    */
   loadRepositories: function () {
-    if (App.router.get('clusterController.isLoaded')) {
+    if (App.router.get('clusterController.isLoaded') && App.get('currentStackVersion'))
{
       var nameVersionCombo = App.get('currentStackVersion');
       var stackName = nameVersionCombo.split('-')[0];
       var stackVersion = nameVersionCombo.split('-')[1];


Mime
View raw message