From ca7ff6dd79313fdf148fef650b961efdac215979 Mon Sep 17 00:00:00 2001 From: Rufus Cable Date: Wed, 29 May 2013 19:52:33 +0100 Subject: [PATCH] Refuse dragged items as described in #165 --- Classes/Controllers/PBWebController.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Classes/Controllers/PBWebController.m b/Classes/Controllers/PBWebController.m index 74a069744..e10ddaa8f 100644 --- a/Classes/Controllers/PBWebController.m +++ b/Classes/Controllers/PBWebController.m @@ -114,6 +114,12 @@ - (void)webView:(WebView *)sender } } +- (NSUInteger)webView:(WebView *)webView +dragDestinationActionMaskForDraggingInfo:(id)draggingInfo +{ + return NSDragOperationNone; +} + + (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector { return NO;