mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Fixed bug introduced by PR 1391 involving the saving up settings that have an associated text input.
This commit is contained in:
parent
182ef10a87
commit
564e393292
@ -103,7 +103,7 @@
|
||||
|
||||
$(document.body).on('click', '.setting-save-button', function () {
|
||||
var setting = $(this).prop('id');
|
||||
var value = $(this).parents('tr').find('#value')[0].value;
|
||||
var value = $(this).parents('tr').find('input[type="text"]')[0].value;
|
||||
var postdata = {
|
||||
'value': value,
|
||||
'_csrf_token': '{{ csrf_token() }}'
|
||||
|
Loading…
Reference in New Issue
Block a user