Sfoglia il codice sorgente

Merge branch 'paesaggistica' of 149.202.172.180:/home/ubuntu/sicilia/sismica into paesaggistica

master
Salvatore La Manna 4 anni fa
parent
commit
8777abaf6d
  1. 12
      liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/_diffs/js/custom.js
  2. 12
      liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/js/custom.js

12
liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/_diffs/js/custom.js

@ -3,6 +3,18 @@ var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
$(document).ready(function () { $(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();*/ /*optionalRadio();*/
$(".button-menu-right").click(function (e) { $(".button-menu-right").click(function (e) {

12
liferay-plugins-sdk-6.2/themes/portos-private-fe-theme/docroot/js/custom.js

@ -3,6 +3,18 @@ var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
$(document).ready(function () { $(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();*/ /*optionalRadio();*/
$(".button-menu-right").click(function (e) { $(".button-menu-right").click(function (e) {

Caricamento…
Annulla
Salva