Wednesday, May 2, 2012

TabularInline Image js bug when adding

hello,
just upgrade to 1.4 and I have a weird problem in the admin (therefore the weird post title...):

I use TabularInline Image fields in my admin.

the problem is when I click on "Add an object Image", the new field get inserted *before* the latest one and therefore its id is wrong and the Images do not get saved.
I guess it's easier to understand with a screenshot: http://www.yvanvolochine.com/media/images/djangoBUG.gif

the weirdest thing is that the problem only happens online and not locally.
the only difference seems to be that in production, the *.min.js versions of the js files are used. I hacked around and replaced them with mine (non *.min) but the problem persists...

any hints on where to find where this weirdness come from are very welcome !

_j

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/6_PDzLfUXA4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment