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

footer css fixed

parent b9695b34
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -21,6 +21,7 @@ Footer.prototype.constructor = Footer;
Footer.prototype._createFooterGui = function(message) {
var self = this;
var projectId = self.getMap().getProject().getProjectId();
self.getElement().className = "footerLinks";
var link = Functions.createElement({
type : "a",
......@@ -30,7 +31,7 @@ Footer.prototype._createFooterGui = function(message) {
});
link.href = ServerConnector.getServerBaseUrl() + "/admin.xhtml?id=" + projectId;
self.getElement().appendChild(link);
link = Functions.createElement({
type : "a",
name : "footerManualLink",
......@@ -39,7 +40,7 @@ Footer.prototype._createFooterGui = function(message) {
});
link.href = "#";
link.onclick = function() {
return ServerConnector.getConfigurationParam(ConfigurationType.USER_MANUAL_FILE).then(function(manualFileUrl){
return ServerConnector.getConfigurationParam(ConfigurationType.USER_MANUAL_FILE).then(function(manualFileUrl) {
var win = window.open(manualFileUrl, '_user_manual_');
win.focus();
});
......
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