mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 09:46:06 +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]'),
|
||||
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) {
|
||||
values[name] = value;
|
||||
|
||||
Reference in New Issue
Block a user