mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 01:14:30 +08:00
fixes long column names in repository dropdown [fixes SCI-1338]
This commit is contained in:
parent
5ac0ed4505
commit
d1977d0773
1 changed files with 1 additions and 1 deletions
|
@ -1257,7 +1257,7 @@ function changeToEditMode() {
|
||||||
var maxLength = $('#repository-table').data('max-dropdown-length');
|
var maxLength = $('#repository-table').data('max-dropdown-length');
|
||||||
if ($.trim(name).length > maxLength) {
|
if ($.trim(name).length > maxLength) {
|
||||||
return '<div class="modal-tooltip">' +
|
return '<div class="modal-tooltip">' +
|
||||||
maxLength +
|
truncateLongString(name, maxLength) +
|
||||||
'<span class="modal-tooltiptext">' + name + '</span></div>';
|
'<span class="modal-tooltiptext">' + name + '</span></div>';
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
|
|
Loading…
Reference in a new issue