Title: [95807] trunk/Source/WebCore
Revision
95807
Author
vse...@chromium.org
Date
2011-09-23 08:57:13 -0700 (Fri, 23 Sep 2011)

Log Message

Web Inspector: Clicking on error doesn't point on the correct line if user searched something
https://bugs.webkit.org/show_bug.cgi?id=68627

Reviewed by Yury Semikhatsky.

* inspector/front-end/SearchController.js:
(WebInspector.SearchController.prototype.disableSearchUntilExplicitAction):
* inspector/front-end/inspector.js:
(WebInspector._showAnchorLocationInPanel):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (95806 => 95807)


--- trunk/Source/WebCore/ChangeLog	2011-09-23 15:22:35 UTC (rev 95806)
+++ trunk/Source/WebCore/ChangeLog	2011-09-23 15:57:13 UTC (rev 95807)
@@ -1,5 +1,17 @@
 2011-09-23  Vsevolod Vlasov  <vse...@chromium.org>
 
+        Web Inspector: Clicking on error doesn't point on the correct line if user searched something
+        https://bugs.webkit.org/show_bug.cgi?id=68627
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/SearchController.js:
+        (WebInspector.SearchController.prototype.disableSearchUntilExplicitAction):
+        * inspector/front-end/inspector.js:
+        (WebInspector._showAnchorLocationInPanel):
+
+2011-09-23  Vsevolod Vlasov  <vse...@chromium.org>
+
         Web Inspector: InspectorStyleSheet should use stylesheet's original url, not final one.
         https://bugs.webkit.org/show_bug.cgi?id=68631
 

Modified: trunk/Source/WebCore/inspector/front-end/SearchController.js (95806 => 95807)


--- trunk/Source/WebCore/inspector/front-end/SearchController.js	2011-09-23 15:22:35 UTC (rev 95806)
+++ trunk/Source/WebCore/inspector/front-end/SearchController.js	2011-09-23 15:57:13 UTC (rev 95807)
@@ -78,6 +78,11 @@
         this._performSearch("");
     },
 
+    disableSearchUntilExplicitAction: function(event)
+    {
+        this._performSearch("");
+    },
+
     handleShortcut: function(event)
     {
         var isMac = WebInspector.isMac();

Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (95806 => 95807)


--- trunk/Source/WebCore/inspector/front-end/inspector.js	2011-09-23 15:22:35 UTC (rev 95806)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js	2011-09-23 15:57:13 UTC (rev 95807)
@@ -1241,6 +1241,7 @@
         anchor.addStyleClass("webkit-html-resource-link");
     }
 
+    WebInspector.searchController.disableSearchUntilExplicitAction();
     this.setCurrentPanel(panel);
     if (this.drawer)
         this.drawer.immediatelyFinishAnimation();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to