Skip to content
Snippets Groups Projects
Commit 7beb777a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

dialog reference fixed

parent 20b1270a
No related branches found
No related tags found
1 merge request!31Resolve "Login"
......@@ -314,7 +314,7 @@ OverlayPanel.prototype.refresh = function() {
if (user.getLogin() === "anonymous") {
title.innerHTML = 'YOU ARE NOT LOGGED IN. PLEASE, <a href="#">LOG IN</a> TO UPLOAD AND VIEW CUSTOM OVERLAYS';
$(title).find("a")[0].onclick = function() {
return self.getLoginDialog().open();
return self.getParent().getLoginDialog().open();
};
addButton.style.display = "none";
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment