Fixed developer errors storing invalid error objects

Этот коммит содержится в:
hmhealey
2016-01-11 12:35:48 -05:00
родитель 01d6a48419
Коммит 1e4c52a70e

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

@@ -98,7 +98,7 @@
});
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.storeLastError({message: '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();
}
}