From 9d8613d827dd6e99e36a24c4b37012b93b5e316c Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 12 Jan 2019 21:19:46 -0500 Subject: Add rudimentary system for launching a modal on page load If the $_SCROTT['AUTO_MODAL'] global is defined, it will refer to a modal's DOM ID to be shown once the page loads. Currently, an error state will supersede this and display the notice modal instead. Signed-off-by: Malf Furious --- app/view/stdpage.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/view') diff --git a/app/view/stdpage.php b/app/view/stdpage.php index c57a156..90e25d8 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -145,6 +145,12 @@ require_once "view/settings.php"; $("#noticeModal").modal("show"); }); + +