Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c934c789
Commit
c934c789
authored
Feb 29, 2012
by
Kostas Papadimitriou
Browse files
Cloudbar fix
proper callback parameter
parent
7a0c3713
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
View file @
c934c789
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment