Changeset 73560 in webkit
- Timestamp:
- Dec 8, 2010 3:33:49 PM (13 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r73552 r73560 1 2010-12-08 Brian Weinstein <bweinstein@apple.com> 2 3 Reviewed by John Sullivan. 4 5 REGRESSION: r73429-r73490: Some Contextual menu items non-functional, such as Open Link in New Tab 6 https://bugs.webkit.org/show_bug.cgi?id=50683 7 8 If our context menu item already has an action, don't overwrite the action with the context menu 9 forwarder. 10 11 * WebView/WebHTMLView.mm: 12 (setMenuItemTarget): 13 1 14 2010-12-08 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/WebKit/mac/WebView/WebHTMLView.mm
r73535 r73560 3273 3273 static void setMenuItemTarget(NSMenuItem* menuItem) 3274 3274 { 3275 // Don't set the menu item's action to the context menu action forwarder if we already 3276 // have an action. 3277 if ([menuItem action]) 3278 return; 3279 3275 3280 [menuItem setTarget:[WebMenuTarget sharedMenuTarget]]; 3276 3281 [menuItem setAction:@selector(forwardContextMenuAction:)];
Note: See TracChangeset
for help on using the changeset viewer.