I want to unblockui when stop loading page request is called.
dashboard: function(e,data) {
window.location = $("#dashboard-url").val()+"?trace_id="+data.id;
$.blockUI();
}
}
but before "window.location" page loads I press stop loading page in browser still UI is blocked. is there any method with which I can unblock ui when stop loading page request is called.?