Re: Custom jQuery in admin

2013-01-11 Thread Jim Thaxton
I'm not sure about your original problem but prefixing it with django will make use of Django's jquery namespace: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-media-definitions Django admin Javascript makes use of the jQuery library. > To avoid conflic

Re: Custom jQuery in admin

2013-01-11 Thread Mario Gudelj
Sounds like you have something else on that page using $, such as prototype library. Look up jquery's noconflict() if that's the case On 11 Jan, 2013 9:26 PM, "Daniele Procida" wrote: > I had a custom widget, which broke after some other things were updated. > > It was saying: > > TypeError:

Custom jQuery in admin

2013-01-11 Thread Daniele Procida
I had a custom widget, which broke after some other things were updated. It was saying: TypeError: 'undefined' is not a function (evaluating '$('#id_conta cts_and_people-phonecontact-content_type-object_id-0-label').combo box()') Last night, I finally managed to fix it, after noticin