* WebView.subproj/WebHTMLView.m:
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2004 21:53:57 +0000 (21:53 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2004 21:53:57 +0000 (21:53 +0000)
        (-[WebHTMLView doCommandBySelector:]):
        Commented out part of previous change; it breaks Mail editing until Mail
        fixes bug 3810158.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7621 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m

index f069aee0d05ff9e0a1d9f8eac3088bf077438777..33e77cfd8f4a5b5d0ae960f1640f0a2701e597b4 100644 (file)
@@ -1,3 +1,10 @@
+2004-09-21  John Sullivan  <sullivan@apple.com>
+
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView doCommandBySelector:]):
+        Commented out part of previous change; it breaks Mail editing until Mail
+        fixes bug 3810158.
+
 2004-09-21  John Sullivan  <sullivan@apple.com>
 
         Reviewed by Ken.
index 8334128d27db6c2d4cb452b9c32db7c69a0a71a8..18d35c8b2eb29b990034989d34268e3043412137 100644 (file)
@@ -4046,7 +4046,9 @@ static DOMRange *unionDOMRanges(DOMRange *a, DOMRange *b)
 - (void)doCommandBySelector:(SEL)aSelector
 {
     WebView *webView = [self _webView];
-    if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector]) {
+    // FIXME 3810158: need to enable this code when Mail returns NO for this delegate method
+    if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector] || YES) {
+//  if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector]) {
         [super doCommandBySelector:aSelector];
     }
 }