[TYPO3-core] RFC: #6046 requestUpdate does not work on selectboxes (group-fields)
Stephan Petzl
spetzl at gmx.at
Tue Oct 30 00:18:33 CET 2007
Ingmar Schlecht schrieb:
> OK, what about executing the
> p.setTimeout(\'if(confirm(window.T .... ) ...
> only when closing the object browser (plus records have been added while
> in the object browser)?
>
yeah, would be nice. but do you have an idea how to get this
window.onClose handler working?
> And also, I'm just wondering why we need to specifically deal with the
> "alert" part of $PA['fieldChangeFunc']['alert'], can't we just execute
> the whole imploded 'fieldChangeFunc' bunch from the opening TCEForms
> window?
>
> I mean something along the lines of (warning, pseudo code only):
> p = parent.window.opener;
> p.setTimeout(\'window.TBE_EDITOR.'.$theFormField.'.onChange()\', 10);
>
> That way not only the requestUpdate functionality would be called but
> everything that TCEForm wants to do on a change of the form field value.
i think you are right. i just wanted to do it as simple and with as
little code as possible.
will have another look on it...
br stephan
More information about the TYPO3-team-core
mailing list