andruhon edited a comment on issue #384: WICKET-6703 replace eval with jQuery.globalEval; add suspend/notify URL: https://github.com/apache/wicket/pull/384#issuecomment-550057613 Hi @svenmeier ! `target.prependJavaScript((String.format("jQuery('#%s').fadeOut(500, Wicket.Ajax.suspendCall());", c3.getMarkupId())));` this line in demo certainly needs some explanation. At a first glance it's not very obvious where the suspension is released. Somewhat like this: `// suspendCall suspends the ajax queue here, the suspendCall itself returns a function which does release a lock once called. The fadeOut will call this function when animation is finished and the lock will be released.` Potentially the notify can be pulled into variable to make things clear. Also, I think it would be nice to have a demo with multiple locks.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services