xing/wysihtml5 — pull request #132 by kagd (2012-06-27 19:04:20+00:00)
Title: Added listener for 'edit' event. Created a hook for updating an element ('update:dialog').

Here was the issue that I was having. Saving the dialog when editing a link I previously created with the dialog, `save:dialog` was not being fired. I traced it back to line 55 of dialog.js where `edit` was being fired, but nothing was listening for it. So I added a listener for it within toolbar.js, where it fires the `update:dialog` event.

Not sure why this pull request is showing so many changes, because all I added was 3 lines of code to toolbar.js. So, if you want to cherry pick the change, I made the additions to lines 97-100 in toolbar.js.

After I made the additions, I ran `make` to create the compressed and uncompressed dist files.

All tests passed.