Changeset 27996 in webkit
- Timestamp:
- Nov 23, 2007 8:48:07 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r27994 r27996 1 2007-11-23 Timothy Hatcher <timothy@apple.com> 2 3 Reviewed by Adam Roben. 4 5 Bug 16110: Clicking inside the resource headers in the network timeline collapses them 6 http://bugs.webkit.org/show_bug.cgi?id=16110 7 8 Toggle the resource headers only if the click happens on the 9 resource row, not within the headers area. 10 11 * WebCore.xcodeproj/project.pbxproj: 12 * page/inspector/NetworkPanel.js: 13 1 14 2007-11-23 Kevin Ollivier <kevino@theolliviers.com> 2 15 -
trunk/WebCore/page/inspector/NetworkPanel.js
r27979 r27996 115 115 onClick: function(event) 116 116 { 117 // If the click wasn't inside a network resource row, ignore it. 117 118 var resourceElement = event.target.firstParentOrSelfWithClass("network-resource"); 118 119 if (!resourceElement) 119 120 return; 120 121 122 // If the click was within the network info element, ignore it. 123 var networkInfo = event.target.firstParentOrSelfWithClass("network-info"); 124 if (networkInfo) 125 return; 126 127 // If the click was within the tip balloon element, hide it. 121 128 var balloon = event.target.firstParentOrSelfWithClass("tip-balloon"); 122 129 if (balloon) { 123 resourceElement.timelineEntry. toggleTipBalloon(event);130 resourceElement.timelineEntry.showingTipBalloon = false; 124 131 return; 125 132 }
Note: See TracChangeset
for help on using the changeset viewer.