Hi,

On Wed, Oct 24, 2012 at 11:25 AM, Thijs <[email protected]> wrote:
> Hi,
>
> We have an overlay that is triggered by a ajax global event listener. like:
>
> Wicket.Event.subscribe('/ajax/call/before', function(jqEvent, attributes,
> jqXHR, errorThrown, textStatus) {
> showBusysignAjax();
> });
>
> Put when the precondition of the ajax call fails none of the
> '/ajax/call/after|complete|failure|success is called causing the overlay to
> keep being displayed.
>
> When a precondition fails, doesn't the '/ajax/call/failure|complete'  need
> to be called?

No, since there is no Ajax call made there is no callback.
Use 'beforeSend' instead.

>
> Thijs



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to