mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-14 01:06:03 +01:00
Reverted #34
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
formValues = {};
|
||||
|
||||
for (var key in values) { if (values.hasOwnProperty(key)) {
|
||||
formValues[key] = values[key] ? '1' : '0';
|
||||
formValues[name + '[' + key + ']'] = values[key] ? '1' : '0';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,9 +96,5 @@
|
||||
this.el.find('input').on('change', function () { eh.call(self, self.value()); });
|
||||
};
|
||||
|
||||
CheckboxesField.prototype.getFieldName = function() {
|
||||
return this.el.data('grav-array-name');
|
||||
};
|
||||
|
||||
root.Checkboxes = CheckboxesField;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user