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 <[email protected]> Authored: Thu Jan 26 11:03:39 2017 +0200 Committer: Oleg Nechiporenko <[email protected]> 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 }); }
