diff options
author | Ermal <eri@pfsense.org> | 2013-02-19 21:42:40 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-19 21:42:40 +0000 |
commit | 1cf47c498cff838107f4c171ef5bf15ee828e3bb (patch) | |
tree | 75af2df1a60a108abd34026f9665fac7d9cdbd3f /usr/local/www | |
parent | 647df2d42a401b733876a01c455bc527068fee61 (diff) | |
download | pfsense-1cf47c498cff838107f4c171ef5bf15ee828e3bb.zip pfsense-1cf47c498cff838107f4c171ef5bf15ee828e3bb.tar.gz |
Put the alerts behind comments for someone wanting to debug this. The errors are from CSRF though ticket #2826 should not happen and functionality is not impacted by this.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_graph.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index 3c3a639..0daf8a6 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -120,12 +120,14 @@ function bandwidthAjax(hostinterface, sorting) { // Use GET type: 'get', error: function(req) { - // Handle 404 + /* XXX: Leave this for debugging purposes: Handle 404 if(req.status == 404) alert('Error 404: location "' + uri + '" was not found.'); - // Handle other errors + */ + /* Handle other errors else alert('Error ' + req.status + ' -- ' + req.statusText + ' -- ' + uri); + */ }, success: function(data) { updateBandwidthHosts(data); |