widop/WidopPluploadBundle — pull request #3 by geoffrey-brier (2012-08-08 08:17:54+00:00)
Title: Improvement of the plupload behaviour

I changed the way the plupload was instanciated, now an event called 'plupload_instanciate' is thrown only if the given **div** (`#{{id}}`) exists.

The purpose of this PR is to allow special cases when the plupload javascript payload is executed before the div is inserted into the DOM. On these occasions, the event is not thrown and you have to manually emit the 'plupload_instanciate' event (`window.widop.eventEmitter.emit('plupload_instanciate')`).