Skip to content

Commit

Permalink
Make sure the Watach panel has default content
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Nov 22, 2013
1 parent 9a7d320 commit 67d29c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extension/content/firebug/debugger/watch/watchPanel.js
Expand Up @@ -173,6 +173,10 @@ WatchPanel.prototype = Obj.extend(BasePanel,
if (state.scrollTop)
this.defaultScrollTop = state.scrollTop;
}

// Make sure the default content is displayed at the beginning.
if (this.tree.isEmpty() || this.defaultTree.isEmpty())
this.showEmptyMembers();
},

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Expand Down

0 comments on commit 67d29c3

Please sign in to comment.