Bug 310139: Editing mime-type handlers fails with a missing handler, patch by Phil Ringnalda <bugzilla@philringnalda.com>, r=mscott

This commit is contained in:
gavin%gavinsharp.com 2005-09-28 02:52:52 +00:00
Родитель 1b6d9f88d6
Коммит 7ef8c89fb6
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -298,6 +298,8 @@ var gDownloadActionsWindow = {
catch (e) {
customHandler = null;
}
if (customHandler && !customHandler.exists())
customHandler = null;
var mimeType = this._getLiteralValue(type, "value");
var typeInfo = this._mimeSvc.getFromTypeAndExtension(mimeType, null);