[jQuery] re[jQuery] setting form attributes in the jQuery forms plugin

[jQuery] re[jQuery] setting form attributes in the jQuery forms plugin


hi devs,
i just started using the form plugin so i am not sure if i am correct, but
as far as i understand the code, the form plugin doesn't reset the target
attribute of the form if the target attribute is undefined (not present)
and the action attribute is not resetted either, this seems to happen at
least when doing file uploads
maybe one of the committers want's to do the following changes in
the fileUpload funtion, or has some better ideas:
line 297 var a = $form.attr('action');
[...]
line 313 $form.attr('target', (t==undefined)?"_self":t); // reset
target
line 314 $form.attr('action', a); // reset action
best regards
Michael
--
View this message in context: http://www.nabble.com/resetting-form-attributes-in-the-jQuery-forms-plugin-tp14797017s27240p14797017.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.