⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99819 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 11:59:18 PM (15 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: console does not work after switching panel while editing.
https://bugs.webkit.org/show_bug.cgi?id=71918

Reviewed by Yury Semikhatsky.

  • inspector/front-end/SourceFrame.js:

(WebInspector.SourceFrame.prototype.wasShown):
(WebInspector.SourceFrame.prototype.willHide):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r99816 r99819  
     12011-11-09  Pavel Feldman  <pfeldman@google.com>
     2
     3        Web Inspector: console does not work after switching panel while editing.
     4        https://bugs.webkit.org/show_bug.cgi?id=71918
     5
     6        Reviewed by Yury Semikhatsky.
     7
     8        * inspector/front-end/SourceFrame.js:
     9        (WebInspector.SourceFrame.prototype.wasShown):
     10        (WebInspector.SourceFrame.prototype.willHide):
     11
    1122011-11-09  Rakesh KN  <rakesh.kn@motorola.com>
    213
  • trunk/Source/WebCore/inspector/front-end/SourceFrame.js

    r99410 r99819  
    8484        this._ensureContentLoaded();
    8585        this._textViewer.show(this.element);
     86        if (this._wasHiddenWhileEditing)
     87            this.setReadOnly(false);
    8688    },
    8789
     
    9395
    9496        this._clearLineHighlight();
    95         this._textViewer.readOnly = true;
     97        if (!this._textViewer.readOnly)
     98            this._wasHiddenWhileEditing = true;
     99        this.setReadOnly(true);
    96100    },
    97101
Note: See TracChangeset for help on using the changeset viewer.