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
This commit is contained in:
parent
7c20aac034
commit
68896debfc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user