Adding error bar message when console error detected

Этот коммит содержится в:
=Corey Hulen
2015-12-14 11:34:16 -08:00
родитель f5ec973cba
Коммит c7c03817d0
8 изменённых файлов: 50 добавлений и 0 удалений

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

@@ -85,6 +85,11 @@
type: 'POST',
data: JSON.stringify(l)
});
if (window.mm_config.EnableDeveloper === 'true') {
window.ErrorStore.storeLastError('DEVELOPER MODE: A javascript error has occured. Please use the javascript console to capture and report the error (row: ' + line + ' col: ' + column + ').');
window.ErrorStore.emitChange();
}
}
</script>