mirror of https://github.com/abpframework/abp.git
4 changed files with 53 additions and 50 deletions
@ -0,0 +1,20 @@ |
|||
(function ($) { |
|||
|
|||
$(function () { |
|||
var errorPageRedirect = function () { |
|||
var second = 3; |
|||
var close = setInterval(() => { |
|||
$("#ErrorRedirectSeconds").text(`(${--second})`); |
|||
if (second === 0) { |
|||
clearInterval(close); |
|||
$("#ErrorRedirect")[0].click(); |
|||
} |
|||
}, 1000); |
|||
} |
|||
|
|||
if (document.getElementById("DocumentErrorContainer")) { |
|||
errorPageRedirect(); |
|||
} |
|||
}); |
|||
|
|||
})(jQuery); |
|||
Loading…
Reference in new issue