mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 03:00:56 +01:00
Force rescanning fields when submitting a form (fixes #243)
This commit is contained in:
@@ -282,6 +282,8 @@
|
||||
};
|
||||
|
||||
Form.prototype.submit = function(ajax) {
|
||||
// TODO: workaround, need to rework forms
|
||||
this.scanned = false; // force to rescan items
|
||||
var action = this.form.attr('action') || document.location,
|
||||
method = this.form.attr('method') || 'POST',
|
||||
values = {};
|
||||
|
||||
Reference in New Issue
Block a user