Changeset 194009 in webkit


Ignore:
Timestamp:
Dec 12, 2015 9:37:35 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (r191613): Web Inspector: Can't type spaces when editing DOM nodes
https://bugs.webkit.org/show_bug.cgi?id=152173

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-12-12
Reviewed by Timothy Hatcher.

  • UserInterface/Views/TimelineSidebarPanel.js:

(WebInspector.TimelineSidebarPanel):
Disable the keyboard shortcuts when they are created. They will be
enabled when the panel is shown / hidden. It doesn't really make sense
that these are on the sidebar panel instead of the tab, but things
will be changing in Timelines soon anyways so just fix this now.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r194008 r194009  
     12015-12-12  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        REGRESSION (r191613): Web Inspector: Can't type spaces when editing DOM nodes
     4        https://bugs.webkit.org/show_bug.cgi?id=152173
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/TimelineSidebarPanel.js:
     9        (WebInspector.TimelineSidebarPanel):
     10        Disable the keyboard shortcuts when they are created. They will be
     11        enabled when the panel is shown / hidden. It doesn't really make sense
     12        that these are on the sidebar panel instead of the tab, but things
     13        will be changing in Timelines soon anyways so just fix this now.
     14
    1152015-12-12  Nikita Vasilyev  <nvasilyev@apple.com>
    216
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js

    r193791 r194009  
    176176        this._toggleRecordingShortcut = new WebInspector.KeyboardShortcut(null, WebInspector.KeyboardShortcut.Key.Space, this._toggleRecordingOnSpacebar.bind(this));
    177177        this._toggleRecordingShortcut.implicitlyPreventsDefault = false;
     178        this._toggleRecordingShortcut.disabled = true;
    178179
    179180        this._toggleNewRecordingShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Shift, WebInspector.KeyboardShortcut.Key.Space, this._toggleNewRecordingOnSpacebar.bind(this));
    180181        this._toggleNewRecordingShortcut.implicitlyPreventsDefault = false;
     182        this._toggleNewRecordingShortcut.disabled = true;
    181183    }
    182184
Note: See TracChangeset for help on using the changeset viewer.