Bug 978068 - [Australis] - fastcustomizeanimation attribute set on wrong tab, r=mikedeboer
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 28 Feb 2014 15:06:12 +0000
changeset 171620 963cc574a1003b468bb29c6d48ebe654ba97d939
parent 171619 e36f5045d2175ba30aa90ef6f471c504e5254fcf
child 171621 e942764f652704a3f2fbb914117e55621e485084
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersmikedeboer
bugs978068
milestone30.0a1
Bug 978068 - [Australis] - fastcustomizeanimation attribute set on wrong tab, r=mikedeboer
browser/components/customizableui/src/CustomizeMode.jsm
--- a/browser/components/customizableui/src/CustomizeMode.jsm
+++ b/browser/components/customizableui/src/CustomizeMode.jsm
@@ -486,17 +486,17 @@ CustomizeMode.prototype = {
         CustomizableUI.dispatchToolboxEvent("customization-transitionend", aEntering, this.window);
 
         deferred.resolve();
       }.bind(this), 0);
     }.bind(this);
     deck.addEventListener("transitionend", customizeTransitionEnd);
 
     if (gDisableAnimation) {
-      deck.setAttribute("fastcustomizeanimation", true);
+      this.document.getElementById("tab-view-deck").setAttribute("fastcustomizeanimation", true);
     }
     if (aEntering) {
       this.document.documentElement.setAttribute("customizing", true);
       this.document.documentElement.setAttribute("customize-entering", true);
     } else {
       this.document.documentElement.setAttribute("customize-exiting", true);
       this.document.documentElement.removeAttribute("customize-entered");
     }