tinymce/tinymce — pull request #298 by jonparrott (2014-01-02 15:29:43+00:00)
Title: Fixing style bug in images plugin

Bug occurs when modifying the border or padding in the image advanced tab and clicking the "Ok" button before clicking anything else. This causes the onChange event to never fire for the field thus never calling updateStyle and causing TinyMCE to lose the data the user just entered. This patch adds a call to updateStyle into onSubmitForm so that the style is always recalculated.