Fix required flag

This commit is contained in:
camjac251 2020-05-13 09:08:15 -05:00
parent 0484237954
commit ccf7b5d2c6
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@
<div class="form-group row hook-storage">
<label for="storage_region" class="col-sm-3 col-form-label">AWS S3 endpoint</label>
<div class="col-sm-9">
<input type="text" class="form-control hook-storage-input" id="storage_endpoint" name="storage_endpoint" placeholder="optional (for S3-compatible services)" autocomplete="off">
<input type="text" class="form-control hook-storage-input" id="storage_endpoint" name="storage_endpoint" placeholder="optional (for S3-compatible services)" autocomplete="off" data-default-local=null>
</div>
</div>
<div class="form-group row hook-storage">

View file

@ -44,7 +44,7 @@ $(document).ready(function () {
$('#storage_key').prop('required', 'required').parent().parent().show();
$('#storage_secret').prop('required', 'required').parent().parent().show();
$('#storage_region').prop('required', 'required').parent().parent().show();
$("#storage_endpoint").prop('required', 'required').parent().parent().show();
$("#storage_endpoint").parent().parent().show();
$('#storage_bucket').prop('required', 'required').parent().parent().show();
break;
case 'google-cloud':