|
|
|
@ -226,11 +226,11 @@ function accessSwitcher(accessFromReady) { |
|
|
|
if (access == 1) { |
|
|
|
if (access == 1) { |
|
|
|
$('#duration_div').hide(); |
|
|
|
$('#duration_div').hide(); |
|
|
|
$('#date_fields').show(); |
|
|
|
$('#date_fields').show(); |
|
|
|
|
|
|
|
emptyDuration(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$('#duration_div').show(); |
|
|
|
$('#duration_div').show(); |
|
|
|
$('#date_fields').hide(); |
|
|
|
$('#date_fields').hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
emptyDuration(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function emptyDuration() { |
|
|
|
function emptyDuration() { |
|
|
|
|