gduarte/common — pull request #7 by Deividy (2013-05-02 19:54:07+00:00)
Title: Fix for HtmlEditor and AutoSave plugin

fix for issue https://github.com/dealerlogix/dl-net/issues/327

I had to make a hack to simulate the onChange event of HtmlEditor.
The ExtJS HtmlEditor component don't have the focus/blur event, so i had to add these too.
When we focus the HtmlEditor, it saves the value into a temporary var, then when we click out and fires the blur event we check if the value is different, if is, then submits the form, otherwise just reset the temporary var.

Please, check if my approach is right, let me know if I need to change something.
Thanks