FIX: UploadField action buttons aren't disabled when editing an item

Toggle disabled classes/attributes based on form visibility instead of .toggle()

Use jQuery.attr() simply because it looks nicer
Merge pull request #2191 from kinglozzer/uploadfield-disable-on-edit

FIX: UploadField action buttons aren't disabled when editing an item