You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2013/11/14 18:05:10 UTC

git commit: AMBARI-3768. Add Service Wizard (Install, Start and Test): Clicking on close(x) button doesn't close wizard immediately. (onechiporenko)

Updated Branches:
  refs/heads/trunk f3dd3017e -> 55b61a9d0


AMBARI-3768. Add Service Wizard (Install, Start and Test): Clicking on close(x) button doesn't close wizard immediately. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: 55b61a9d0825f4cf456d12ef7316c43eec25ccf2
Parents: f3dd301
Author: Oleg Nechiporenko <cv...@yahoo.com>
Authored: Thu Nov 14 18:51:33 2013 +0200
Committer: Oleg Nechiporenko <cv...@yahoo.com>
Committed: Thu Nov 14 19:05:03 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/routes/add_service_routes.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/55b61a9d/ambari-web/app/routes/add_service_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js
index 3bb75c7..a88a4c6 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -42,6 +42,7 @@ module.exports = Em.Route.extend({
             App.router.transitionTo('main.services.index');
           },
           onClose: function() {
+            this.set('showCloseButton', false); // prevent user to click "Close" many times
             App.router.get('updateController').set('isWorking', true);
             var self = this;
             App.router.get('updateController').updateServiceMetric(function(){