I’m trying to use an info_dialog to display the server status in afterSubmit as follows:
|
1 2 3 4 5 6 7 8 9 |
afterSubmit: function(resp, postdata) { if (resp.status === 200) { jQuery.jgrid.info_dialog("Info","<div class=\"ui-state-highlight\" style=\"padding:5px;\">"+resp.responseText+"</div>", jQuery.jgrid.edit.bClose,{buttonalign:"right"}); jQuery("#info_dialog").delay(3000).fadeOut(); return [true, ""]; } }, |
The dialog fades out properly, but continues to block (i.e. the main browser window is grayed out).
What am I doing wrong?
Matt
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top