collective/collective.quickupload — pull request #22 by keul (2012-12-12 09:00:36+00:00)
Title: Fix for #21

Details of the problem are in issue #21

I don't fully understand why the portlet need to reset the session object (code comment says "*empty typeupload and mediaupload session since the portlet don't use it, but another app could*") and so I don't know where to put that code and if is still needed.
I choose to simply perform minimal refactoring of the code.

I choose to move it in the render method. Also: apart the SESSION problem, the `__init__` method of the Rendered seems called twice!