Fixed time issue which happened during ui update

This commit is contained in:
Peter Goodhall
2019-05-25 22:11:53 +01:00
parent da4dc1bf27
commit 2cdb45d501
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ $(document).ready(function(){
utc: true,
format: '%H:%M'
}
$('#start_time').jclock(options);
$('.input_time').jclock(options);
});
}
});

View File

@@ -57,7 +57,7 @@
<div class="form-group col-md-6">
<label for="start_time">Time</label>
<input type="text" class="form-control form-control-sm" name="start_time" id="start_time" value="<?php echo date('H:i'); ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?>>
<input type="text" class="form-control form-control-sm input_time" name="start_time" id="start_time" value="<?php echo date('H:i'); ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?>>
</div>
<?php if ( $_GET['manual'] == 0 ) { ?>