[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

pfeldman at chromium.org pfeldman at chromium.org
Wed Apr 7 23:26:07 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 660fdcecdd06bed11be7bf0e2255f6f847d800b4
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Nov 9 04:46:33 2009 +0000

    2009-11-08  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Timothy Hatcher.
    
            Web Inspector: "Search again" on scripts panel switches
            to the script this search started with.
    
            https://bugs.webkit.org/show_bug.cgi?id=31243
    
            * inspector/front-end/Panel.js:
            (WebInspector.Panel.prototype.jumpToNextSearchResult):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50635 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9e5550f..b8e946a 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2009-11-08  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Timothy Hatcher.
+
+        Web Inspector: "Search again" on scripts panel switches
+        to the script this search started with.
+
+        https://bugs.webkit.org/show_bug.cgi?id=31243
+
+        * inspector/front-end/Panel.js:
+        (WebInspector.Panel.prototype.jumpToNextSearchResult):
+
 2009-11-08  Kent Tamura  <tkent at chromium.org>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/inspector/front-end/Panel.js b/WebCore/inspector/front-end/Panel.js
index 6cd200b..d816ce5 100644
--- a/WebCore/inspector/front-end/Panel.js
+++ b/WebCore/inspector/front-end/Panel.js
@@ -231,8 +231,11 @@ WebInspector.Panel.prototype = {
             showFirstResult = true;
         }
 
-        if (currentView !== this.visibleView)
-            this.showView(currentView);
+        if (currentView !== this.visibleView) {
+            currentView = this.visibleView;
+            this._currentSearchResultIndex = 0;
+            showFirstResult = true;
+        }
 
         if (showFirstResult)
             currentView.jumpToFirstSearchResult();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list