aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-portal
diff options
context:
space:
mode:
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'));
+ }
});
});