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
This commit is contained in:
kin%netscape.com 2003-07-08 17:38:13 +00:00
parent 9871c15630
commit f8f9d8592a

View File

@ -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<nsIHTMLInlineTableEditor> inlineTableEditing = do_QueryInterface(htmlEditor);
inlineTableEditing->DoInlineTableEditingAction(element);
}
return NS_OK;
return nsTextEditorMouseListener::MouseClick(aMouseEvent);
}
nsresult