Bug with multiple submit buttons in one form

Bug: Having multiple submit buttons in my form (save, close&save, cancel), after uploading an image with attachinary, all submit butons have the same text as the first button.

Sollution: Loop over jquery collection of submit buttons before and after the upload and carry out the changing of the button text for each submit button on it's own.