Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1800,6 +1800,10 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetURL(const char *aURL, const char *aTarge
|
||||
{
|
||||
NS_ENSURE_TRUE(mOwner,NS_ERROR_NULL_POINTER);
|
||||
|
||||
if (mContent->IsEditable()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// the container of the pres context will give us the link handler
|
||||
nsCOMPtr<nsISupports> container = mOwner->PresContext()->GetContainer();
|
||||
NS_ENSURE_TRUE(container,NS_ERROR_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user