var profile = $('<div class="profile"></div>');
// create services links and set the active class to the current service
- $.getJSON(window.GET_SERVICES_URL, function(data) {
+ $.getJSON(window.GET_SERVICES_URL || window.CLOUDBAR_SERVICES, function(data) {
$.each(data, function(i, el){
var slink = $("<a>");
if (el.icon) {
var user = $('<div class="user"></div>');
var username = $('<a href="#"></a>');
var usermenu = $("<ul>");
- var get_menu_url = window.GET_MENU_URL.concat('?location=').concat(window.location.toString());
+ var get_menu_url = (window.GET_MENU_URL || window.CLOUDBAR_MENU).concat('?location=').concat(window.location.toString());
$.getJSON(get_menu_url, function(data) {
$.each(data, function(i,el) {
if (i == 0){