Bug 934487 - Fix "TypeError: this.markup is undefined" in devtools b-c runs; r=pbrosset

This commit is contained in:
Brian Grinstead 2013-11-05 07:37:55 -06:00
parent fa839ec160
commit 29d25d4aab

View File

@ -358,6 +358,9 @@ InspectorPanel.prototype = {
this._initMarkup();
this.once("markuploaded", () => {
if (this._destroyPromise) {
return;
}
this.markup.expandNode(this.selection.nodeFront);
this.setupSearchBox();
this.emit("new-root");