mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-28 12:38:00 +00:00
set time of splash message
default for error message is now 3000 ms unless it is overritten by 'duration' parameter
This commit is contained in:
parent
3dd1c2cd4e
commit
40ad10b45f
|
@ -77,7 +77,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
timeout: 1500,
|
||||
timeout: <?php echo isset($flashmsg['duration']) && is_numeric($flashmsg['duration']) ? $flashmsg['duration'] : ($flashmsg['type'] == "error" ? "3000" : "1500"); ?>,
|
||||
_template: '<div class="noty_message alert alert-block alert-error"><span class="noty_text"></span><div class="noty_close"></div></div>'
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user