ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [03/22] git commit: AMBARI-6989. Check db connection button call action in disabled state (Buzhor Denys via alexantonenko)
Date Mon, 25 Aug 2014 12:32:28 GMT
AMBARI-6989. Check db connection button call action in disabled state (Buzhor Denys via alexantonenko)


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

Branch: refs/heads/branch-alerts-dev
Commit: f69618fdf31113f4c228ed57ae9be44c636e82a0
Parents: f2d91b2
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri Aug 22 17:19:55 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Aug 22 17:20:33 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/views/wizard/controls_view.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f69618fd/ambari-web/app/views/wizard/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/controls_view.js b/ambari-web/app/views/wizard/controls_view.js
index d112c40..f42639d 100644
--- a/ambari-web/app/views/wizard/controls_view.js
+++ b/ambari-web/app/views/wizard/controls_view.js
@@ -883,6 +883,7 @@ App.CheckDBConnectionView = Ember.View.extend({
    * @method connectToDatabase
    **/
   connectToDatabase: function() {
+    if (this.get('isBtnDisabled')) return false;
     var self = this;
     self.set('isRequestResolved', false);
     App.db.set('tmp', this.get('parentView.service.serviceName') + '_connection', {});


Mime
View raw message