Collapsable fieldsets broken in StackedInline
|Reported by:||Evandro Myller||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When a StackedInline item's extra = 0, the Show/Hide toggle link doesn't work in newly added entries.
I guess it happens due to the fact that the current js adds the click event listener to the existent links only (it works if there are entries previously saved, loaded with the changeform page). It should watch for clicks "lively" (this is what jQuery's
.live does , I think).