It's very useful to define a function that handles the content of a floating window. But to make it really powerful, post params must be passed to it. For example, the url of the link being clicked would be usefull to make "are you sure to delete XXX?" appear in a floating window, which is not possible at the moment.
I suggest to pass the post variables to the call_user_func() in float_window_ajax_request_handler().

I don't know if this is already part of the development. If it's so, ignore my request. Anyhow, good job with this module!

Comments

skilip’s picture

AFAIK this feature already exists. The clicked url is sent with the post parameters ('clicked_url' I think).

dalad’s picture

But $_POST params are not passed to the user defined function, so clicked url is lost within float_window_ajax_request_handler()...