1 line
377 B
JavaScript
1 line
377 B
JavaScript
!function(){$(document).ready(function(){return $.ajax((window.location.href.match(/\/(upgrade|renew)session/)?window.location.href:portal)+"?kerberos=1",{dataType:"json",statusCode:{401:function(){return $("#lform").submit()}},success:function(n){return $('input[name="upgrading"]').remove(),$("#lform").submit()},error:function(){return $("#lform").submit()}})})}.call(this); |