summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-19 09:55:57 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-19 09:55:57 +0545
commit1860c406f8deec6bc23c11b7d541281471cc1e1a (patch)
tree4903d36ddb33462114831a512f03efb10b3bd8c3 /src/usr/local/www/head.inc
parentbf54ac2d7c6856f4a8fc1cb87f221562b308fc1e (diff)
downloadpfsense-1860c406f8deec6bc23c11b7d541281471cc1e1a.zip
pfsense-1860c406f8deec6bc23c11b7d541281471cc1e1a.tar.gz
Remove debug code for #5463
and it still works. Feel free to close this and do what is really needed to remove the debug code and leave the functional code working.
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-xsrc/usr/local/www/head.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index f262721..9e62f39 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -564,17 +564,15 @@ if (are_notices_pending()):?>
//<![CDATA[
events.push(function(){
$('#clearallnotices').click(function() {
- alert("Clear button clicked");
ajaxRequest = $.ajax({
url: "/index.php",
type: "post",
data: { closenotice: "all"},
success: function(){
- alert('Success');
window.location = window.location.href;
},
failure: function () {
- alert("Blew it!");
+ alert("Error clearing notices!");
}
});
});
OpenPOWER on IntegriCloud