Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 64016a50e -> 05974f917


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/05974f91
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/05974f91
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/05974f91

Branch: refs/heads/branch-1.7.0
Commit: 05974f917787106e3a98b88483dca2f737c91fcb
Parents: 64016a5
Author: Aleksandr Kovalenko <[email protected]>
Authored: Mon Oct 20 19:22:27 2014 +0300
Committer: Aleksandr Kovalenko <[email protected]>
Committed: Tue Oct 21 13:33:07 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/05974f91/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) {

Reply via email to