mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 17:56:07 +01:00
Fix problem in form code introduced by fix to allow file uploads. Only triggered the issue on Pages form code
Fix #361 Fix #365
This commit is contained in:
@@ -295,7 +295,7 @@
|
|||||||
parent = input.parent('[data-grav-disabled]'),
|
parent = input.parent('[data-grav-disabled]'),
|
||||||
value = input.val();
|
value = input.val();
|
||||||
|
|
||||||
if (input.is(':disabled') || (parent && parent.data('grav-disabled') == 'true') || e.attr('type') != 'file') { return; }
|
if (input.is(':disabled') || (parent && parent.data('grav-disabled') == 'true')) { return; }
|
||||||
|
|
||||||
if (name) {
|
if (name) {
|
||||||
values[name] = value;
|
values[name] = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user