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:
Flavio Copes
2015-12-22 12:56:00 +01:00
parent 08b2043dd3
commit 011c53515e

View File

@@ -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;