JS error if try using this with FormSets

Create issue
Issue #3 resolved
Former user created an issue

Firebug show error "missing ; before statement" after loading page with the autocomlpete field in formset.

[Break on this error] var ac_form-0-place = new autocomplete("...0-place", "/autocomplete/place/", true);

Comments (6)

  1. hagan Franks


    I'm using the latest public install of django-autocomplete I downloaded with mercurial. I'm also having an issue with formsets and javascript complaining about the variable name formsets generate... Not sure if this is part of your latest changes but i'm curious how I can patch this.



  2. Germano Gabbianelli repo owner

    Hi hagan, can you please paste the output of the error? Also, make sure you're using the last version by running:

    hg pull
    hg update

    Thank you :)

  3. hagan Franks

    I feel like an idiot... I was updating the wrong site-packages for my server.. I'm running this on a centos box and i'm trying to separate my OS python paths from the running mod_wsgi instance.... Anyhow, it's working now that i got my paths corrected. Thanks for the reply.

  4. Log in to comment