Hi all,
Does anybody know how to reduce the time the message "New record saved" appears?
I stays there for 4 or 5 seconds and I find it very irritating.
Best regards,
Gerard.
Message delay
Re: Message delay
Ok, I reply to myself.
incCommon.php, line 299:
You can change the delay here :
to something faster:
Gerard.
incCommon.php, line 299:
Code: Select all
$notify_template = '<div id="%%ID%%" class="alert %%CLASS%%" style="display: none;">%%MSG%%</div>' .
'<script>' .
'jQuery(function(){' .
'jQuery("#%%ID%%").show("slow", function(){' .
'setTimeout(function(){ jQuery("#%%ID%%").hide("slow"); }, 4000);' .
'});' .
'});' .
'</script>'."\n";
Code: Select all
'setTimeout(function(){ jQuery("#%%ID%%").hide("slow"); }, 4000);' .
Code: Select all
'setTimeout(function(){ jQuery("#%%ID%%").hide("slow"); }, 1000);' .