diff --git a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf
index 342f2ed..28490d9 100644
--- a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf
+++ b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf
@@ -13,17 +13,20 @@
//check for notifications on load after 3 seconds
var username = "<%=themeDisplay.getUser().getScreenName()%>";
+ // current location to extract the vre and the user profiles within it
+ var location = window.location.href;
+
$.get('/notificationchecker/notificationchecker', {
- userid : username
+ userid : username, location : location
}, function(responseText) {
});
-
//then repeat every 1.5 minutes
setInterval(function() {
var username = "<%=themeDisplay.getUser().getScreenName()%>";
- $.get('/notificationchecker/notificationchecker', {
- userid : username
+ var location = window.location.href;
+ $.get('/notificationchecker/notificationchecker',{
+ userid : username, location : location
}, function(responseText) {
});
}, 90000);