diff options
Diffstat (limited to 'app/view/master/foot.view.php')
-rw-r--r-- | app/view/master/foot.view.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/view/master/foot.view.php b/app/view/master/foot.view.php index c295455..6220f89 100644 --- a/app/view/master/foot.view.php +++ b/app/view/master/foot.view.php @@ -1,2 +1,10 @@ <script type="text/javascript" src="<?=$mod->ar()?>/assets/js/jquery.min.js"></script> <script type="text/javascript" src="<?=$mod->ar()?>/assets/js/bootstrap.min.js"></script> + +<?php if ($mod->isError() || $mod->isWarning() || $mod->isNotice()) { ?> + <script type="text/javascript"> + $(window).load(function() { + $("#noticeModal").modal("show"); + }); + </script> +<?php } ?> |