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

git-svn-id: svn://10.0.0.236/trunk@181105 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2005-09-28 02:52:52 +00:00
parent 2e834d122e
commit 8c85dd1d2d

View File

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