Added text to let users know refresh is disabled

This commit is contained in:
laf
2015-04-29 18:08:16 +01:00
parent 8a0394d5a4
commit 0ab836b9bb

View File

@@ -363,6 +363,18 @@ if ($no_refresh !== TRUE && $config['page_refresh'] != 0) {
}); });
</script>'); </script>');
} else {
echo('<script type="text/javascript">
$(document).ready(function() {
$("#countdown_timer").html("Refresh disabled");
$("#countdown_timer_status").html("<i class=\"fa fa-pause fa-fw\"></i>");
$("#countdown_timer_status").click("", function(event) {
event.preventDefault();
});
});
</script>');
} }
?> ?>