silverstripe/silverstripe-framework — pull request #2191 by kinglozzer (2013-07-04 14:59:07+00:00)
Title: FIX: UploadField action buttons aren't disabled when editing an item

If you upload an item to an UploadField, then click 'Edit', then click any of the other action buttons (like 'Choose another file') then the action still happens. This is because the buttons are given a disabled class, but are never actually disabled.