Fix handling of smart list inputs

pull/225/head
Aleksander Machniak 10 years ago
parent d1c8d7fc25
commit 8b5038befc

@ -736,6 +736,9 @@ function smart_field_init(field)
if (field.attr('disabled')) if (field.attr('disabled'))
area.hide(); area.hide();
// disable the original field anyway, we don't want it in POST
else
field.prop('disabled', true);
field.after(area); field.after(area);

Loading…
Cancel
Save