kopia lustrzana https://github.com/inkstitch/inkstitch
fix latent bug preventing saving checkbox values
rodzic
ae286b17ad
commit
ea6b89581e
|
@ -295,6 +295,7 @@ $(function() {
|
|||
$('.' + field_name).toggle($(this).prop('checked'));
|
||||
setPageNumbers();
|
||||
}).on('change', function() {
|
||||
var field_name = $(this).attr('data-field-name');
|
||||
$.postJSON('/settings/' + field_name, {value: $(this).prop('checked')});
|
||||
});
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue