Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: Source/WebCore/inspector/front-end/StylesSidebarPane.js

Issue 9968120: Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/inspector/front-end/Spectrum.js ('k') | Source/WebCore/inspector/front-end/TextPrompt.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/StylesSidebarPane.js
===================================================================
--- Source/WebCore/inspector/front-end/StylesSidebarPane.js (revision 113151)
+++ Source/WebCore/inspector/front-end/StylesSidebarPane.js (working copy)
@@ -59,7 +59,7 @@
this.settingsSelectElement.appendChild(option);
// Prevent section from collapsing.
- var muteEventListener = function(event) { event.consume(); };
+ var muteEventListener = function(event) { event.consume(true); };
this.settingsSelectElement.addEventListener("click", muteEventListener, true);
this.settingsSelectElement.addEventListener("change", this._changeSetting.bind(this), false);
@@ -1257,7 +1257,7 @@
_handleSelectorClick: function(event)
{
this._startEditingOnMouseEvent();
- event.consume();
+ event.consume(true);
},
_startEditingOnMouseEvent: function()
@@ -1805,7 +1805,7 @@
scrollerElement.addEventListener("scroll", repositionSpectrum, false);
}
}
- e.consume();
+ e.consume(true);
}
function getFormat()
@@ -2025,7 +2025,7 @@
_mouseClick: function(event)
{
- event.consume();
+ event.consume(true);
if (event.target === this.listItemElement) {
if (!this.section.editable)
« no previous file with comments | « Source/WebCore/inspector/front-end/Spectrum.js ('k') | Source/WebCore/inspector/front-end/TextPrompt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698