django-modeltranslation
django-modeltranslation copied to clipboard
Fire event when JS is initiated
When all translation inputs are initiated it would be nice to fire an event. I am manipulating form inputs (setting custom height), but I am having a race condition. My script is run when DOM is loaded, same with django-modeltranslation JS scripts. My manipulation script sometimes can't see those form inputs, because of not finished django-translation scripts.
Any chance to do so?
Sure. Please take a look at JS code and make a PR with this event you need.
I can do code review and merge it.