mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980903 - Remove inline click handler for back button. r=past
This commit is contained in:
parent
fc75e5c2db
commit
ad33067ef8
@ -394,6 +394,7 @@ RequestsMenuView.prototype = Heritage.extend(WidgetMethods, {
|
||||
$("#requests-menu-perf-notice-button").addEventListener("command", this._onContextPerfCommand, false);
|
||||
$("#requests-menu-network-summary-button").addEventListener("command", this._onContextPerfCommand, false);
|
||||
$("#requests-menu-network-summary-label").addEventListener("click", this._onContextPerfCommand, false);
|
||||
$("#network-statistics-back-button").addEventListener("command", this._onContextPerfCommand, false);
|
||||
} else {
|
||||
$("#notice-perf-message").hidden = true;
|
||||
$("#request-menu-context-perf").hidden = true;
|
||||
@ -428,6 +429,7 @@ RequestsMenuView.prototype = Heritage.extend(WidgetMethods, {
|
||||
$("#requests-menu-perf-notice-button").removeEventListener("command", this._onContextPerfCommand, false);
|
||||
$("#requests-menu-network-summary-button").removeEventListener("command", this._onContextPerfCommand, false);
|
||||
$("#requests-menu-network-summary-label").removeEventListener("click", this._onContextPerfCommand, false);
|
||||
$("#network-statistics-back-button").removeEventListener("command", this._onContextPerfCommand, false);
|
||||
|
||||
$("#custom-request-send-button").removeEventListener("click", this.sendCustomRequestEvent, false);
|
||||
$("#custom-request-close-button").removeEventListener("click", this.closeCustomRequestEvent, false);
|
||||
|
@ -516,7 +516,6 @@
|
||||
class="devtools-toolbar">
|
||||
<button id="network-statistics-back-button"
|
||||
class="devtools-toolbarbutton"
|
||||
onclick="NetMonitorView.toggleFrontendMode()"
|
||||
label="&netmonitorUI.backButton;"/>
|
||||
</toolbar>
|
||||
<box id="network-statistics-charts"
|
||||
|
Loading…
Reference in New Issue
Block a user