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:
loadrunner%betak.net 2001-08-15 08:36:31 +00:00
parent 88114ceb86
commit 4929499da0

View File

@ -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 )