bug 88940, [Composer] There is no charset items when try to save a text file, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@101094 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
88114ceb86
commit
4929499da0
@ -50,7 +50,7 @@ function Startup()
|
||||
//dialog.charsetRoot = document.getElementById('CharsetRoot');
|
||||
|
||||
contenttypeElement = GetHTTPEquivMetaElement("content-type");
|
||||
if(! contenttypeElement )
|
||||
if(!contenttypeElement && (editorShell.contentsMIMEType != 'text/plain'))
|
||||
{
|
||||
contenttypeElement = CreateHTTPEquivMetaElement("content-type");
|
||||
if( ! contenttypeElement )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user