summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-17 12:22:08 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-17 12:22:08 -0500
commit329a1cd58f698c3d0b62da74e52e566b4883b39c (patch)
tree3908f6e198301084f2e86a99cd16ab58139fbb31 /src/usr/local/www/head.inc
parent7abe8b3ed149bafa82e2803686898943065019ee (diff)
downloadpfsense-329a1cd58f698c3d0b62da74e52e566b4883b39c.zip
pfsense-329a1cd58f698c3d0b62da74e52e566b4883b39c.tar.gz
Fixed #5463
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-xsrc/usr/local/www/head.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 2787565..3fd1a62 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -564,7 +564,11 @@ if (are_notices_pending()):?>
//<![CDATA[
events.push(function(){
$('#clearallnotices').click(function() {
- <?php close_notice("all"); ?>
+ ajaxRequest = $.ajax({
+ url: "/index.php",
+ type: "post",
+ data: { closenotice: "all"}
+ });
window.location = window.location.href;
});
});
OpenPOWER on IntegriCloud