Bug 732585 - Drag and drop images into message window is broken; r=roc

This commit is contained in:
Ehsan Akhgari 2012-03-26 09:04:06 -07:00
parent 5b05bfee0b
commit 7fd57e8b1a

View File

@ -1292,7 +1292,7 @@ nsresult nsHTMLEditor::InsertObject(const char* aType, nsISupports* aObject, boo
nsAutoString stuffToPaste;
stuffToPaste.AssignLiteral("<IMG src=\"data:");
AppendUTF8toUTF16(aType, stuffToPaste);
AppendUTF8toUTF16(type, stuffToPaste);
stuffToPaste.AppendLiteral(";base64,");
AppendUTF8toUTF16(base64, stuffToPaste);
stuffToPaste.AppendLiteral("\" alt=\"\" >");