fixes long column names in repository dropdown [fixes SCI-1338]

This commit is contained in:
zmagod 2017-06-09 11:42:38 +02:00
parent 5ac0ed4505
commit d1977d0773

View file

@ -1257,7 +1257,7 @@ function changeToEditMode() {
var maxLength = $('#repository-table').data('max-dropdown-length');
if ($.trim(name).length > maxLength) {
return '<div class="modal-tooltip">' +
maxLength +
truncateLongString(name, maxLength) +
'<span class="modal-tooltiptext">' + name + '</span></div>';
}
return name;