Reworked.
This commit is contained in:
@@ -582,7 +582,7 @@
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="serverURL">Server</label>
|
||||
<input type="text" class="form-control" id="serverURL" aria-describedby="serverURLHelp" placeholder="Default: http://localhost:4988" value="http://localhost:4988">
|
||||
<input type="text" class="form-control" id="serverURL" aria-describedby="serverURLHelp" placeholder="Default: http://localhost:4977" value="http://localhost:4977">
|
||||
<small id="serverURLHelp" class="form-text text-muted">BPS server URL.</small>
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
@@ -1287,7 +1287,7 @@
|
||||
let execute = $("button[id='btnDealForm']");
|
||||
execute.prop('disabled', true);
|
||||
|
||||
AsyncFetch(api + '/deal/' + formOrder.val() + settings, 'POST', formData, {'Content-Type': 'multipart/form-data'})
|
||||
AsyncFetch(api + '/deal/' + formOrder.val().toLowerCase() + settings, 'POST', formData, {'Content-Type': 'multipart/form-data'})
|
||||
.then(function(json) {
|
||||
let html;
|
||||
let payload;
|
||||
|
||||
Reference in New Issue
Block a user