mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
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:
parent
9871c15630
commit
f8f9d8592a
@ -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…
Reference in New Issue
Block a user