I need an onUnblock callback
-
I have a jquery plugin that works on the comments area on every page.
After submitting the comment, the page is not reloaded, so the DOM changes state. After submit, it will block the ui then unblock it for the comments. I looked on their site but can’t find/make it work.
So I need globally to know when the unblock finished so I can refresh based on the new DOM on the other script at exactly the right time.
I have it now on timeout to make it work on submit. Something like:$('#submit').click(function() { //alert(updatefinsihed); setTimeout(function(){ // my code on the comment box and refresh }, 4000); });
Any chance there is a public method to that unblock?
Another idea is for me to create a hidden someth through javascript on your afterupdatecomments, but I would rather not…
- The topic ‘I need an onUnblock callback’ is closed to new replies.