Commit df2257c2 authored by eric@webkit.org's avatar eric@webkit.org

2010-01-27 Alexander Pavlov <apavlov@chromium.org>

        Reviewed by Timothy Hatcher.

        Avoid watch expressions duplication
        https://bugs.webkit.org/show_bug.cgi?id=33996

        * inspector/front-end/WatchExpressionsSidebarPane.js:
        (WebInspector.WatchExpressionsSidebarPane.prototype._settingsLoaded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6de786e6
2010-01-27 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Timothy Hatcher.
Avoid watch expressions duplication
https://bugs.webkit.org/show_bug.cgi?id=33996
* inspector/front-end/WatchExpressionsSidebarPane.js:
(WebInspector.WatchExpressionsSidebarPane.prototype._settingsLoaded):
2010-01-27 Marcus Bulach <bulach@chromium.org>
Reviewed by Dimitri Glazkov.
......@@ -37,6 +37,8 @@ WebInspector.WatchExpressionsSidebarPane = function()
WebInspector.WatchExpressionsSidebarPane.prototype = {
_settingsLoaded: function()
{
this.bodyElement.removeChildren();
this.expanded = WebInspector.settings.watchExpressions.length > 0;
this.section = new WebInspector.WatchExpressionsSection();
this.bodyElement.appendChild(this.section.element);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment