Revision: 29479 http://sourceforge.net/p/bibdesk/svn/29479 Author: hofman Date: 2025-08-27 09:15:44 +0000 (Wed, 27 Aug 2025) Log Message: ----------- no need to clear script message handler and user scripts
Modified Paths: -------------- trunk/bibdesk/BDSKTextImportController.m Modified: trunk/bibdesk/BDSKTextImportController.m =================================================================== --- trunk/bibdesk/BDSKTextImportController.m 2025-08-27 09:12:22 UTC (rev 29478) +++ trunk/bibdesk/BDSKTextImportController.m 2025-08-27 09:15:44 UTC (rev 29479) @@ -643,10 +643,6 @@ [webView setNavigationDelegate:nil]; [webView setUIDelegate:nil]; - [[[webView configuration] userContentController] removeScriptMessageHandlerForName:@"hoverLink"]; - [[[webView configuration] userContentController] removeScriptMessageHandlerForName:@"changeSelection"]; - [[[webView configuration] userContentController] removeAllUserScripts]; - @try { [webView removeObserver:self forKeyPath:@"loading" context:&BDSKTextImportWebViewObservationContext]; } @catch (id e) {} } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit