update expiry
This commit is contained in:
parent
d3913d786c
commit
cf2c004958
@ -48,7 +48,7 @@
|
||||
<td>{{ account.expiaryDate_rendered }}</td>
|
||||
<td>{{ account.password }}</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-info btn-validate" data-username="{{ account.username }}" data-password="{{ account.password }}" data-stream="{{ account.stream }}" style="margin-right: 5px;">
|
||||
<button type="button" class="btn btn-info btn-validate" data-username="{{ account.username }}" data-password="{{ account.password }}" data-stream="{{ account.stream }}" data-expiry-date="{{ account.expiaryDate }}" style="margin-right: 5px;">
|
||||
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true" style="display: none;"></span>
|
||||
<span class="button-text">Validate</span>
|
||||
</button>
|
||||
@ -101,6 +101,7 @@
|
||||
var username = button.data('username');
|
||||
var password = button.data('password');
|
||||
var stream = button.data('stream');
|
||||
var expiryDate = button.data('expiry-date');
|
||||
|
||||
spinner.show();
|
||||
buttonText.hide();
|
||||
@ -113,7 +114,8 @@
|
||||
data: JSON.stringify({
|
||||
username: username,
|
||||
password: password,
|
||||
stream: stream
|
||||
stream: stream,
|
||||
expiry_date: expiryDate
|
||||
}),
|
||||
success: function(response) {
|
||||
spinner.hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user