Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
9e20511f
Commit
9e20511f
authored
Jun 05, 2019
by
Piotr Gawron
Browse files
plugin tab didn't resize content properly when new plugin link was in a new line
parent
0dcae56e
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
9e20511f
minerva
(
12.3.1
~
beta
.1
)
unstable
;
urgency
=
low
*
Bug
fix
:
tair
locus
identifiers
were
used
improperly
-
instead
of
id
the
name
was
used
*
Bug
fix
:
plugin
tab
header
wasn
't properly resized after adding plugins
that introduced second line for tab selection (#758)
minerva (13.1.0~beta.0) unstable; urgency=low
* Feature: annotators are more flexible - you can define set of input and
...
...
frontend-js/src/main/js/plugin/PluginManager.js
View file @
9e20511f
...
...
@@ -70,6 +70,7 @@ PluginManager.prototype.getGuiUtils = function () {
*/
PluginManager
.
prototype
.
addPlugin
=
function
(
options
)
{
var
self
=
this
;
var
oldLinkHeight
=
$
(
"
.nav-tabs
"
,
self
.
getElement
()).
height
();
$
(
self
.
getElement
()).
show
();
if
(
self
.
_panels
===
undefined
)
{
self
.
getGuiUtils
().
initTabContent
(
self
);
...
...
@@ -78,7 +79,6 @@ PluginManager.prototype.addPlugin = function (options) {
self
.
getGuiUtils
().
addTab
(
self
,
{
name
:
"
PLUGIN
"
,
content
:
element
});
var
oldLinkHeight
=
$
(
"
.nav-tabs
"
,
self
.
getElement
()).
height
();
var
plugin
;
return
Promise
.
resolve
().
then
(
function
()
{
if
(
options
instanceof
Plugin
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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