Author: yusaku
Date: Wed May  1 21:31:57 2013
New Revision: 1478200

URL: http://svn.apache.org/r1478200
Log:
AMBARI-2064. Legend for zoomed-in graphs do not render properly in IE9. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/vendor/scripts/rickshaw.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1478200&r1=1478199&r2=1478200&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed May  1 21:31:57 2013
@@ -825,6 +825,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2064. Legend for zoomed-in graphs do not render properly in IE9.
+ (yusaku)
+
  AMBARI-2063. Admin features not available for user with admin rights under
  certain conditions. (yusaku)
 

Modified: incubator/ambari/trunk/ambari-web/vendor/scripts/rickshaw.js
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/vendor/scripts/rickshaw.js?rev=1478200&r1=1478199&r2=1478200&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/vendor/scripts/rickshaw.js (original)
+++ incubator/ambari/trunk/ambari-web/vendor/scripts/rickshaw.js Wed May  1 
21:31:57 2013
@@ -1429,9 +1429,10 @@ Rickshaw.Graph.Behavior.Series.Order = f
        });
 
        //hack to make jquery-ui sortable behave
-       this.graph.onUpdate( function() { 
-               var h = window.getComputedStyle(self.legend.element).height;
-               self.legend.element.style.height = h;
+       this.graph.onUpdate( function() {
+    // commenting out since this breaks rendering in IE9
+               //var h = window.getComputedStyle(self.legend.element).height;
+               //self.legend.element.style.height = h;
        } );
 };
 Rickshaw.namespace('Rickshaw.Graph.Behavior.Series.Toggle');


Reply via email to