Rev 1292 | Rev 1400 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1292 | Rev 1349 | ||
---|---|---|---|
Line 512... | Line 512... | ||
512 | $(".lng_flag").each(function(){ |
512 | $(".lng_flag").each(function(){ |
513 | $(this).addClass("picture_ghost"); |
513 | $(this).addClass("picture_ghost"); |
514 | }); |
514 | }); |
515 | $("#lng_flag_"+$.escapeSelector(lngid)).removeClass("picture_ghost"); |
515 | $("#lng_flag_"+$.escapeSelector(lngid)).removeClass("picture_ghost"); |
516 | 516 | ||
517 | if (isInternetExplorer()) { |
- | |
518 | // Internet Explorer has problems with sending new cookies to new AJAX requests, so we reload the page completely |
- | |
519 | window.location.reload(); |
- | |
520 | } else { |
- | |
521 | // TODO: Small detail: The "Go" button also needs to be re-translated |
517 | // TODO: Small detail: The "Go" button also needs to be re-translated |
522 | reloadContent(); |
518 | reloadContent(); |
523 | mobileNavClose(); |
519 | mobileNavClose(); |
524 | } |
520 | |
525 | return true; // we have handled it. Do not follow href="" |
521 | return true; // we have handled it. Do not follow href="" |
526 | } |
522 | } |
527 | 523 | ||
528 | function show_waiting_anim() { |
524 | function show_waiting_anim() { |
529 | $("#loading").show(); |
525 | $("#loading").show(); |