From 68896debfcef0e563e57bf2bc50d245eaab5dd4a Mon Sep 17 00:00:00 2001 From: "kin%netscape.com" Date: Tue, 8 Jul 2003 17:38:13 +0000 Subject: [PATCH] Fix for bug 211378 (Unable to paste into editor widgets with middle mouse button) Modified MouseUp() and MouseClick() so that they call thru to the base class versions. This regression was caused by the fix for bug 137092. r=brade@netscape.com sr=bzbarsky@mit.edu git-svn-id: svn://10.0.0.236/trunk@144566 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp b/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp index 47da9cf85ed..49953a20e25 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp @@ -105,7 +105,8 @@ nsHTMLEditorMouseListener::MouseUp(nsIDOMEvent* aMouseEvent) mouseEvent->GetClientY(&clientY); objectResizer->MouseUp(clientX, clientY, element); } - return NS_OK; + + return nsTextEditorMouseListener::MouseUp(aMouseEvent); } nsresult @@ -317,7 +318,8 @@ nsHTMLEditorMouseListener::MouseClick(nsIDOMEvent* aMouseEvent) nsCOMPtr inlineTableEditing = do_QueryInterface(htmlEditor); inlineTableEditing->DoInlineTableEditingAction(element); } - return NS_OK; + + return nsTextEditorMouseListener::MouseClick(aMouseEvent); } nsresult