[DE] Fix Bug 40939

This commit is contained in:
Julia Radzhabova 2019-03-25 16:19:53 +03:00
parent 10a008cb11
commit aabdd61410

View file

@ -84,7 +84,7 @@ define([
'</tr>', '</tr>',
'<tr>', '<tr>',
'<td class="padding-small">', '<td class="padding-small">',
'<div id="bookmarks-list" style="width:100%; height: 130px;"></div>', '<div id="bookmarks-list" style="width:290px; height: 130px;"></div>',
'</td>', '</td>',
'</tr>', '</tr>',
'<tr>', '<tr>',
@ -169,7 +169,7 @@ define([
this.bookmarksList = new Common.UI.ListView({ this.bookmarksList = new Common.UI.ListView({
el: $('#bookmarks-list', this.$window), el: $('#bookmarks-list', this.$window),
store: new Common.UI.DataViewStore(), store: new Common.UI.DataViewStore(),
itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="pointer-events:none;"><%= value %></div>') itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="pointer-events:none;overflow: hidden; text-overflow: ellipsis;"><%= value %></div>')
}); });
this.bookmarksList.store.comparator = function(rec) { this.bookmarksList.store.comparator = function(rec) {
return (me.radioName.getValue() ? rec.get("value") : rec.get("location")); return (me.radioName.getValue() ? rec.get("value") : rec.get("location"));