aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-portal
diff options
context:
space:
mode:
authorM.Gergo2020-03-08 13:29:09 +0100
committerM.Gergo2020-03-08 13:29:09 +0100
commit6cdef5739ed7e029d4631b849f157462e64bd045 (patch)
tree0f66deedc5c0985e663f375b737b0e14064d25d4 /mayor-orig/mayor-portal
parentc2908f8a1487e62c4a61032e261721cefc357980 (diff)
downloadmayor-6cdef5739ed7e029d4631b849f157462e64bd045.tar.gz
mayor-6cdef5739ed7e029d4631b849f157462e64bd045.zip
Rev: 4615rev4615
Diffstat (limited to 'mayor-orig/mayor-portal')
-rw-r--r--mayor-orig/mayor-portal/log/mayor-portal.rev2
-rw-r--r--mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js6
2 files changed, 6 insertions, 2 deletions
diff --git a/mayor-orig/mayor-portal/log/mayor-portal.rev b/mayor-orig/mayor-portal/log/mayor-portal.rev
index c340a93c..24fa9a00 100644
--- a/mayor-orig/mayor-portal/log/mayor-portal.rev
+++ b/mayor-orig/mayor-portal/log/mayor-portal.rev
@@ -1 +1 @@
-4611
+4615
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'));
+ }
});
});