fix #2302 (Regression: Using find in Manage Favorite/Featured breaks layout)

This commit is contained in:
rolux 2014-02-13 15:53:26 +00:00 committed by j
commit cc5ee75564
4 changed files with 26 additions and 9 deletions

View file

@ -7,11 +7,13 @@ pandora.ui.folderPlaceholder = function(id, section) {
height: '14px',
padding: '1px 4px',
});
that.updateText = function(string) {
that.updateText = function(string, isFind) {
return that.html(
Ox._(
string != 'volumes'
? 'No ' + string + ' ' + (section == 'items' ? 'lists' : section)
? 'No ' + string + ' '
+ (section == 'items' ? 'lists' : section)
+ (isFind ? ' found' : '')
: 'No local volumes'
)
);