Repository: ambari Updated Branches: refs/heads/trunk 0ffa89532 -> 1a6267597
AMBARI-20099.Password fields are not disabled when should be (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1a626759 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1a626759 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1a626759 Branch: refs/heads/trunk Commit: 1a6267597d5c445dc9bb12e4cfead5073cf134cf Parents: 0ffa895 Author: Oleg Nechiporenko <[email protected]> Authored: Tue Feb 21 17:57:17 2017 +0200 Committer: Oleg Nechiporenko <[email protected]> Committed: Wed Feb 22 10:23:00 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/ember_reopen.js | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1a626759/ambari-web/app/utils/ember_reopen.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/ember_reopen.js b/ambari-web/app/utils/ember_reopen.js index ef996fc..c7f93af 100644 --- a/ambari-web/app/utils/ember_reopen.js +++ b/ambari-web/app/utils/ember_reopen.js @@ -237,6 +237,10 @@ Ember._HandlebarsBoundView.reopen({ } }); +Ember.TextField.reopen({ + attributeBindings: ['readOnly'] +}); + Ember.TextArea.reopen({ attributeBindings: ['readonly'] });
