Working on scheduled reports

This commit is contained in:
Hillel Coren 2017-11-23 13:42:58 +02:00
parent 92936246aa
commit 415bab8cf4
2 changed files with 3 additions and 1 deletions

View File

@ -436,6 +436,7 @@
$('#format').change(function() {
var val = $('#format').val();
$('#scheduleButton').prop('disabled', val == 'zip');
if (isStorageSupported() && val != 'zip') {
localStorage.setItem('last:report_format', val);
}
@ -446,6 +447,7 @@
setFiltersShown();
setDocumentZipShown();
setScheduleButton();
$('#scheduleButton').prop('disabled', $('#format').val() == 'zip');
if (isStorageSupported()) {
localStorage.setItem('last:report_type', val);
}