forked from 0x2620/pandora
don't truncate 'all edits' text
This commit is contained in:
parent
0cbee58499
commit
0cc7e70090
2 changed files with 5 additions and 2 deletions
|
@ -89,7 +89,6 @@ pandora.ui.allItems = function(section) {
|
|||
}, function(result) {
|
||||
that.update(result.data.items);
|
||||
});
|
||||
} else if (section == 'edits') {
|
||||
} else if (section == 'texts') {
|
||||
$buttons[0] = Ox.Button({
|
||||
style: 'symbol',
|
||||
|
|
|
@ -2028,7 +2028,11 @@ pandora.resizeFolders = function(section) {
|
|||
columnWidth = width - (section != 'texts' ? 96 : 48),
|
||||
userColumnWidth = Math.round(columnWidth * 0.4),
|
||||
nameColumnWidth = columnWidth - userColumnWidth;
|
||||
pandora.$ui.allItems && pandora.$ui.allItems.resizeElement(columnWidth - 8);
|
||||
pandora.$ui.allItems && pandora.$ui.allItems.resizeElement((
|
||||
section == 'items' ? columnWidth
|
||||
: section == 'edits' ? width - 16
|
||||
: width - 48
|
||||
) - 8);
|
||||
Ox.forEach(pandora.$ui.folderList, function($list, id) {
|
||||
var pos = Ox.getIndexById(pandora.site.sectionFolders[section], id);
|
||||
pandora.$ui.folder[pos].css({width: width + 'px'});
|
||||
|
|
Loading…
Reference in a new issue