Restore the caret on drag exit. bug 397283, r+sr+a=roc

This commit is contained in:
mrbkap@gmail.com 2007-09-30 17:37:12 -07:00
parent 93dbb94bde
commit 9f58829ef9

View File

@ -620,6 +620,10 @@ nsTextEditorDragListener::DragExit(nsIDOMEvent* aDragEvent)
mCaretDrawn = PR_FALSE;
}
nsCOMPtr<nsIPresShell> presShell = do_QueryReferent(mPresShell);
if (presShell)
presShell->RestoreCaret();
return NS_OK;
}