show import errors in messageBox

This commit is contained in:
tophf 2017-12-09 19:04:19 +03:00
parent 57e335abb8
commit ab98d46baa

View File

@ -489,8 +489,12 @@ function fromMozillaFormat() {
} }
function showError(errors) { function showError(errors) {
showHelp(t('styleFromMozillaFormatError'), messageBox({
$create('pre', Array.isArray(errors) ? errors.join('\n') : errors)); className: 'center danger',
title: t('styleFromMozillaFormatError'),
contents: $create('pre', Array.isArray(errors) ? errors.join('\n') : errors),
buttons: [t('confirmClose')],
});
} }
} }