No description provided.
added execution of DOM-ready init-scripts for all dynamically added widgets via embedRelation such as sfWidgetFormPropelJQueryAutocompleter or sfWidgetFormDateJQueryUI
automatically eval dynamically added widget's script
This pull request passes (merged 027c5e6 into 67a3936).
Mmh, @themouette @rozwell could you review this PR? thanks
@willdurand ok, will check it.
eval is evil.
Damn it, I forgot about this one...
AFAIR I had this solved in a good way so if I find it, I'll create a PR.
I just ran into this issue and couldn't find the code I was talking about - it was from the time I was playing a lot with nested forms and there isn't left much of it.
To make this work in a "good way" IMHO we should take out the whole js from a widget, wrap it with a js function and place in a parent form for later execution...
I vote to merge it with a FIXME/TODO note - it's better to have a feature working instead of not working at all.
Added FIXME for #155