mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
This commit is contained in:
parent
d6ed427c33
commit
533c3cb594
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@
|
|||
$('#content-main').on('click', '.reset-link', function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
var field = $('#' + this.dataset.fieldId);
|
||||
var field_selector = this.dataset.fieldId.replace(/ /g, "\\ ")
|
||||
var field = $('#' + field_selector);
|
||||
var fieldType = this.dataset.fieldType;
|
||||
|
||||
if (fieldType === 'checkbox') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue