Re: Trigger an event on add another

2012-11-28 Thread is_null
FTR, another solution is to intercept creation of tags with DOMNodeInserted. Requires no monkey patch and is compatible with django & django-grappelli out of the box: https://github.com/yourlabs/django-autocomplete-light/commit/1f1e715e20 Thanks again for your answer (which I credited in the r

Re: Trigger an event on add another

2012-11-23 Thread is_null
My bad I didn't see Mark's mail, I'll subscribe to the list and hopefully this shouldn't happen again. Thanks Mark for answering -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.goog

Re: Trigger an event on add another

2012-11-23 Thread James Pic
ll, > > Is it possible to trigger an event on add-another ? > > Or is there a better solution to work around this problem ? > https://github.com/yourlabs/django-autocomplete-light/blob/master/autocomplete_light/static/autocomplete_light/widget.js#L267 > > Thanks for a

Re: Trigger an event on add another

2012-11-09 Thread Mark Lavin
le/js/jquery.dj.selectable.js?at=default#cl-289 Not the prettiest solution but it works. Best, Mark On Friday, November 9, 2012 6:30:17 AM UTC-5, is_null wrote: > > Hi all, > > Is it possible to trigger an event on add-another ? > > Or is there a better solution to work around this problem

Trigger an event on add another

2012-11-09 Thread James Pic
Hi all, Is it possible to trigger an event on add-another ? Or is there a better solution to work around this problem ? https://github.com/yourlabs/django-autocomplete-light/blob/master/autocomplete_light/static/autocomplete_light/widget.js#L267 Thanks for answering Regards -- You received