Skip to content

Commit

Permalink
Merge pull request #179 from threebytesfull/issues/165
Browse files Browse the repository at this point in the history
Refuse dragged items as described in #165
  • Loading branch information
rowanj committed Jun 6, 2013
2 parents a036e7e + ca7ff6d commit 95db2d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/Controllers/PBWebController.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ - (void)webView:(WebView *)sender
}
}

- (NSUInteger)webView:(WebView *)webView
dragDestinationActionMaskForDraggingInfo:(id<NSDraggingInfo>)draggingInfo
{
return NSDragOperationNone;
}

+ (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector
{
return NO;
Expand Down

0 comments on commit 95db2d2

Please sign in to comment.