Commit c934c789 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Cloudbar fix

proper callback parameter
parent 7a0c3713
......@@ -61,7 +61,8 @@ $(document).ready(function(){
var username = $('<a href="#"></a>');
var usermenu = $("<ul>");
var get_menu_url = (window.GET_MENU_URL || window.CLOUDBAR_MENU) + '?callback=?&location=' + window.location.toString();
$.getJSON(get_menu_url + "&callback=?", function(data) {
$.getJSON(get_menu_url, function(data) {
$.each(data, function(i,el) {
if (i == 0){
username.text(el.name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment