forked from 0x2620/pandora
fix #2302 (Regression: Using find in Manage Favorite/Featured breaks layout)
This commit is contained in:
parent
8424797cc4
commit
cc5ee75564
4 changed files with 26 additions and 9 deletions
|
|
@ -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'
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue