Skip to content

Commit

Permalink
SW-4080 - Disable javascript alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Hamann committed Oct 10, 2012
1 parent 9665218 commit 4ea8b37
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ Ext.define('Shopware.apps.Index.controller.ErrorReporter', {

// Override the default error reporter
window.onerror = function(message, file, lineNumber) {
alert('{s name="error_reporter/file"}File:{/s} ' + file + "\r" + '{s name="error_reporter/line"}Line number:{/s} ' + lineNumber + "\n\r" + '{s name="error_reporter/message"}Message:{/s} ' + message);
//alert('{s name="error_reporter/file"}File:{/s} ' + file + "\r" + '{s name="error_reporter/line"}Line number:{/s} ' + lineNumber + "\n\r" + '{s name="error_reporter/message"}Message:{/s} ' + message);
return !me.displayErrors;
};

Expand Down

0 comments on commit 4ea8b37

Please sign in to comment.