bug 940994 - follow-up to fix some issues that were missed in review r=mmc

This commit is contained in:
David Keeler 2014-11-14 16:46:23 -08:00
Родитель d68a5662f6
Коммит ceaa910cc6
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -386,11 +386,11 @@ function restoreCerts()
// If this is an X509 user certificate, import it as one.
var isX509FileType = false;
var fileTypesList = gFileTypesList.split('; ');
for (var type in fileTypesList) {
var fileTypesList = gCertFileTypes.slice(1).split('; *');
for (var type of fileTypesList) {
if (fp.file.path.endsWith(type)) {
isX509FileType = true;
break;
break;
}
}