All Django admin would have to do is call: $(this).trigger('django.admin.another_added') or something like that.
It really sounds like little work and would allow user defined callbacks to be executed. What do you think ? On Fri, Nov 9, 2012 at 12:29 PM, James Pic <james...@gmail.com> wrote: > 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 > -- http://blog.yourlabs.org Customer is king - Le client est roi - El cliente es rey. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.