Bug 1155553 - Fixes animationinspector regression with actor-capabilities detection; r=bgrins

--HG--
extra : rebase_source : 31a4ed8dc5ed85a11c95e4a895955d2ac5c19b43
This commit is contained in:
Patrick Brosset 2015-04-17 10:14:14 +02:00
Родитель 84ee31c3a4
Коммит e44cbdba90
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -102,6 +102,7 @@ let AnimationsController = {
this.onAnimationMutations = this.onAnimationMutations.bind(this);
let target = gToolbox.target;
this.animationsFront = new AnimationsFront(target.client, target.form);
// Expose actor capabilities.
this.hasToggleAll = yield target.actorHasMethod("animations", "toggleAll");
@ -117,7 +118,6 @@ let AnimationsController = {
return;
}
this.animationsFront = new AnimationsFront(target.client, target.form);
this.startListeners();
yield this.onNewNodeFront();