exception handler: remove report to tt-rss.org

This commit is contained in:
Andrew Dolgov 2014-03-14 13:51:53 +04:00
parent 453ed4848e
commit b55aec078c
1 changed files with 0 additions and 17 deletions

View File

@ -88,9 +88,6 @@ function exception_error(location, e, ext_info) {
content += "<div class='dlgButtons'>";
content += "<button dojoType=\"dijit.form.Button\""+
"onclick=\"dijit.byId('exceptionDlg').report()\">" +
__('Report to tt-rss.org') + "</button> ";
content += "<button dojoType=\"dijit.form.Button\" "+
"onclick=\"dijit.byId('exceptionDlg').hide()\">" +
__('Close') + "</button>";
@ -103,20 +100,6 @@ function exception_error(location, e, ext_info) {
id: "exceptionDlg",
title: "Unhandled exception",
style: "width: 600px",
report: function() {
if (confirm(__("Are you sure to report this exception to tt-rss.org? The report will include your browser information. Your IP would be saved in the database."))) {
document.forms['exceptionForm'].params.value = $H({
browserName: navigator.appName,
browserVersion: navigator.appVersion,
browserPlatform: navigator.platform,
browserCookies: navigator.cookieEnabled,
}).toQueryString();
document.forms['exceptionForm'].submit();
}
},
content: content});
dialog.show();