plone/archetypes.referencebrowserwidget — pull request #13 by kcleong (2013-10-08 09:24:57+00:00)
Title: Fix javascript click handlers for removing and moving reference items

The method in the onclick attribute for removing and moving attributes gave an error, because the function in the onclick attribute could not be found. This is because the javascript for at.referencebrowserwidget is wrapped in a jquery function.

Instead of using the onclick attribute, a jquery live event handler is now used for clicks. This fixes the error the onclick was giving.