Changeset 117585 in webkit


Ignore:
Timestamp:
May 18, 2012 6:55:17 AM (12 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: live edit resets cursor to 0,0
https://bugs.webkit.org/show_bug.cgi?id=86851

Reviewed by Vsevolod Vlasov.

  • inspector/front-end/DebuggerResourceBinding.js:

(WebInspector.DebuggerResourceBinding.setScriptSource.didEditScriptSource):
(WebInspector.DebuggerResourceBinding.setScriptSource):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117582 r117585  
     12012-05-18  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Web Inspector: live edit resets cursor to 0,0
     4        https://bugs.webkit.org/show_bug.cgi?id=86851
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        * inspector/front-end/DebuggerResourceBinding.js:
     9        (WebInspector.DebuggerResourceBinding.setScriptSource.didEditScriptSource):
     10        (WebInspector.DebuggerResourceBinding.setScriptSource):
     11
    1122012-05-18  Yury Semikhatsky  <yurys@chromium.org>
    213
  • trunk/Source/WebCore/inspector/front-end/DebuggerResourceBinding.js

    r117277 r117585  
    5656    function didEditScriptSource(error)
    5757    {
    58         callback(error);
    59         if (error)
     58        if (error) {
     59            callback(error);
    6060            return;
     61        }
    6162
    6263        var resource = WebInspector.resourceForURL(script.sourceURL);
     
    6566
    6667        uiSourceCode.contentChanged(newSource);
     68        callback();
    6769    }
    6870    WebInspector.debuggerModel.setScriptSource(script.scriptId, newSource, didEditScriptSource.bind(this));
Note: See TracChangeset for help on using the changeset viewer.