Commit 11432773 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

position of tab changed to relative for plugins

parent d1a7b82b
......@@ -7,8 +7,8 @@ var GuiConnector = require('../GuiConnector');
var Promise = require("bluebird");
// noinspection JSUnusedLocalSymbols
var logger = require('../logger');
var Functions = require('../Functions');
function PluginManager(options) {
......@@ -71,7 +71,7 @@ PluginManager.prototype.addPlugin = function (options) {
configuration: self.getConfiguration(),
map: self.getMap()
});
plugin.addListener("onUnload", function(){
plugin.addListener("onUnload", function () {
tabData.content.parentNode.removeChild(tabData.content);
tabData.title.parentNode.parentNode.removeChild(tabData.title.parentNode);
});
......@@ -101,6 +101,7 @@ PluginManager.prototype.createTabForPlugin = function () {
self.getElement().style.height = "100%";
self._tabData = guiUtils.createTabDiv({element: self.getElement(), id: "plugin_tab"});
tabData = self._tabData;
$(tabData.content).css('position', 'relative');
}
return guiUtils.createTab({
title: "",
......
Supports Markdown
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