From a9cde2b0f9092adc7bac91519edff128e63aedef Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Mon, 25 Apr 2016 05:38:41 -0700 Subject: PLT-2616 making dev mode javascript error red (#2787) --- webapp/root.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/root.jsx') diff --git a/webapp/root.jsx b/webapp/root.jsx index b0625438f..d6028e8a7 100644 --- a/webapp/root.jsx +++ b/webapp/root.jsx @@ -88,7 +88,7 @@ function preRenderSetup(callwhendone) { }); if (window.mm_config && window.mm_config.EnableDeveloper === 'true') { - 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.storeLastError({type: 'developer', 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(); } }; -- cgit v1.2.3-1-g7c22