Merge pull request #1854 from hmhealey/plt1608

PLT-1608 Fixed developer errors storing invalid error objects
Этот коммит содержится в:
Joram Wilander
2016-01-11 13:22:43 -05:00
родитель cffb5215b0 1e4c52a70e
Коммит 7511c80a6a

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

@@ -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();
}
}