Version 4.1.19
This commit is contained in:
1 parent
28bd025b35
commit
2bd5025018
2674 files changed
+233518
-77766
No files matched your search
@@ -1,9 +1,10 @@
|
||||
$(function(){
|
||||
|
||||
var _iterator = 0;
|
||||
|
||||
$('.no_js_hide').show();
|
||||
|
||||
var redirectStep = function( infoBox, url, baseurl ) {
|
||||
|
||||
_iterator++;
|
||||
$.ajax( url, {
|
||||
dataType: 'json',
|
||||
cache: false,
|
||||
@@ -23,9 +24,9 @@ $(function(){
|
||||
infoBox.children('.ipsRedirect_progress').show().find('.ipsProgressBar_progress').css({ width: ( response[2] + '%' ) });
|
||||
}
|
||||
|
||||
var newurl = baseurl + '&mr=' + JSON.stringify( response[0] );
|
||||
var newurl = baseurl + '&mr=' + _iterator;
|
||||
|
||||
if ( response[0] == 'JTIyX19kb25lJTIy' ) {
|
||||
if ( response.done && response.done == true ) {
|
||||
window.location = newurl;
|
||||
} else {
|
||||
redirectStep( infoBox, newurl, baseurl );
|
||||
@@ -72,6 +73,6 @@ $(function(){
|
||||
};
|
||||
|
||||
$('.ipsMultipleRedirect').each(function(){
|
||||
redirectStep( $(this).children('.no_js_hide'), $(this).attr('data-url') + '&mr=MA==', $(this).attr('data-url') );
|
||||
redirectStep( $(this).children('.no_js_hide'), $(this).attr('data-url') + '&mr=1', $(this).attr('data-url') );
|
||||
});
|
||||
})
|
||||
Reference in new issue
Block a user