diff options
author | M.Gergo | 2020-03-08 13:29:09 +0100 |
---|---|---|
committer | M.Gergo | 2020-03-08 13:29:09 +0100 |
commit | 6cdef5739ed7e029d4631b849f157462e64bd045 (patch) | |
tree | 0f66deedc5c0985e663f375b737b0e14064d25d4 /mayor-orig/mayor-portal/www | |
parent | c2908f8a1487e62c4a61032e261721cefc357980 (diff) | |
download | mayor-rev4615.tar.gz mayor-rev4615.zip |
Rev: 4615rev4615
Diffstat (limited to 'mayor-orig/mayor-portal/www')
-rw-r--r-- | mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js index 9cf33401..0969c5c7 100644 --- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js +++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js @@ -3,7 +3,11 @@ $(function() { $('#mayorbody a[href*="index.php?page"]:not([href*="sessionID"])').each(function( index ) { l = $(this); href = l.attr('href'); - l.attr('href',href+'&policy='+$('body').data('policy')+'&sessionID='+$('body').data('sessionid')); + if (href.includes("policy")) { + l.attr('href',href+'&origPolicy='+$('body').data('policy')+'&sessionID='+$('body').data('sessionid')); + } else { + l.attr('href',href+'&policy='+$('body').data('policy')+'&sessionID='+$('body').data('sessionid')); + } }); }); |