зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
80607ad560
Коммит
0a72f39cc1
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче