diff --git a/wise-editor/src/main/webapp/js/editor.js b/wise-editor/src/main/webapp/js/editor.js index 886770e6..9bb7399d 100644 --- a/wise-editor/src/main/webapp/js/editor.js +++ b/wise-editor/src/main/webapp/js/editor.js @@ -78,7 +78,7 @@ function buildDesigner(options) { headers: {"Content-Type": "application/json", "Accept": "application/json"}, data: JSON.stringify({ jsErrorMsg: "Message: '" + errorMsg + "', line:'" + lineNo + "', url: :" + url, - jsStack: window.errorStack, + jsStack: window.event.errorStack || window.errorStack, userAgent: navigator.userAgent, mapId: options.mapId })