Changeset 201499 in webkit
- Timestamp:
- May 30, 2016, 9:56:24 AM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/DataGrid.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r201477 r201499 1 2016-05-30 Matt Baker <mattbaker@apple.com> 2 3 Web Inspector: Right-clicking in Snapshot's DataGrid throws an exception 4 https://bugs.webkit.org/show_bug.cgi?id=157934 5 <rdar://problem/26380910> 6 7 Reviewed by Brian Burg. 8 9 Check that click event target is actually a cell, as it can be a row 10 when focusing the table after dismissing a popup menu. 11 12 * UserInterface/Views/DataGrid.js: 13 (WebInspector.DataGridNode.prototype.isEventWithinDisclosureTriangle): 14 1 15 2016-05-27 Joseph Pecoraro <pecoraro@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js
r201245 r201499 2467 2467 return false; 2468 2468 let cell = event.target.enclosingNodeOrSelfWithNodeName("td"); 2469 if (!cell .classList.contains("disclosure"))2469 if (!cell || !cell.classList.contains("disclosure")) 2470 2470 return false; 2471 2471
Note:
See TracChangeset
for help on using the changeset viewer.