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

Merge branch '460-pop-up-window-is-not-displayed' into 'devel_12.0.x'

Resolve "admin's manual: pop-up window is not displayed"

See merge request !355
parents db697f9d 32819a0f
No related branches found
No related tags found
2 merge requests!35712.0.1 into master,!355Resolve "admin's manual: pop-up window is not displayed"
Pipeline #
......@@ -8,6 +8,7 @@ var Functions = require('../Functions');
var AbstractCustomMap = require('./AbstractCustomMap');
var Alias = require('./data/Alias');
var CommentDialog = require('../gui/CommentDialog');
var ConfigurationType = require('../ConfigurationType');
var ControlType = require('./ControlType');
var CustomMapOptions = require('./CustomMapOptions');
var GuiConnector = require('../GuiConnector');
......@@ -99,7 +100,7 @@ CustomMap.prototype.init = function () {
// noinspection SpellCheckingInspection
self.getMapCanvas().triggerListeners('maptypeid_changed'),
self.getMapCanvas().triggerListeners('projection_changed')
]).then(function() {
]).then(function () {
// center map and zoom in to fit into browser window if there is no
// information about coordinates in the session
......@@ -139,6 +140,8 @@ CustomMap.prototype.init = function () {
url = GuiConnector.getImgPrefix() + url;
}
logo2.src = url;
logo2.setAttribute('title', self.getConfiguration().getOption(ConfigurationType.LOGO_TEXT).getValue());
logo2.setAttribute('alt', self.getConfiguration().getOption(ConfigurationType.LOGO_TEXT).getValue());
});
};
......
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