|
|
|
@ -3,6 +3,18 @@ var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
|
|
|
|
|
|
|
|
|
$(document).ready(function () { |
|
|
|
|
|
|
|
|
|
var doAsUserId = getParameterByName('doAsUserId'); |
|
|
|
|
if(doAsUserId != null){ |
|
|
|
|
$.each($('.doasuser-class a'), function(index, val) { |
|
|
|
|
$(this).attr('href', $(this).attr('href')+'?doAsUserId='+doAsUserId); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function getParameterByName(name) { |
|
|
|
|
var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); |
|
|
|
|
return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*optionalRadio();*/ |
|
|
|
|
|
|
|
|
|
$(".button-menu-right").click(function (e) { |
|
|
|
|