You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/01/27 18:17:49 UTC
[38/49] ambari git commit: AMBARI-19722. Wizard modals are closed
before confirmation popup appears (onechiporenko)
AMBARI-19722. Wizard modals are closed before confirmation popup appears (onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a1f625f2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a1f625f2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a1f625f2
Branch: refs/heads/branch-dev-patch-upgrade
Commit: a1f625f265b99634a4c18e7c7c69a88302b286a0
Parents: 22d4e18
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Thu Jan 26 11:03:39 2017 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Fri Jan 27 10:07:11 2017 +0200
----------------------------------------------------------------------
ambari-web/app/views/common/modal_popup.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a1f625f2/ambari-web/app/views/common/modal_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/modal_popup.js b/ambari-web/app/views/common/modal_popup.js
index 47b7d61..2f2dc1c 100644
--- a/ambari-web/app/views/common/modal_popup.js
+++ b/ambari-web/app/views/common/modal_popup.js
@@ -86,6 +86,7 @@ App.ModalPopup = Ember.View.extend({
var firstInputElement = this.$('#modal').find(':input').not(':disabled, .no-autofocus').first();
if (!$.mocho) {
this.$('#modal').modal({
+ keyboard: false,
backdrop: false
});
}