It's broken. I should be committing a fix today.

2010/2/15 Radim Novotny <[email protected]>

> Hi all,
>
> I'm trying to use beforepost/afterpost hooks in the recent
> plone.app.jquerytools prepOverlay method, but without success.
>
> I'm using the following definition:
>
>    jq("a.add-record").prepOverlay({
>       subtype:'ajax',
>       urlmatch:'$', urlreplace:' #region-content>*',
>       formselector:'form',
>       noform: 'reload',
>       closeselector:'[name=form.button.Cancel]',
>       afterpost: function(data) { alert('blah') }
>   });
>
> but "nothing" happens. I've tried to debug it using Firebug, but it seems
> beforepost/afterpost definitions are not transferred through el.data().
>
> Anyone has working example of this feature, please ?
>
> Thanks
> Radim
>
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to