You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/10/21 12:32:58 UTC
git commit: AMBARI-7868. Slider View: Create Slider App dialog should
appear at top of the page. (akovalenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 88d3fb085 -> 6fe0285c5
AMBARI-7868. Slider View: Create Slider App dialog should appear at top of the page. (akovalenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6fe0285c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6fe0285c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6fe0285c
Branch: refs/heads/trunk
Commit: 6fe0285c5be0dde9331818934d47a339090a83f9
Parents: 88d3fb0
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Mon Oct 20 19:24:25 2014 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Tue Oct 21 13:23:11 2014 +0300
----------------------------------------------------------------------
ambari-web/app/views/main/views/details.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/6fe0285c/ambari-web/app/views/main/views/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/views/details.js b/ambari-web/app/views/main/views/details.js
index 92dd358..cf82dbe 100644
--- a/ambari-web/app/views/main/views/details.js
+++ b/ambari-web/app/views/main/views/details.js
@@ -68,6 +68,8 @@ App.MainViewsDetailsView = Em.View.extend({
if (iframe != null && iframe.length > 0) {
var childrenHeight = 0;
var iframeElement = iframe[0];
+ // set iframe height to 'auto' to get actual scrollHeight
+ iframeElement.style.height = 'auto';
if (iframeElement.contentWindow != null
&& iframeElement.contentWindow.document != null
&& iframeElement.contentWindow.document.body != null) {