avoid JS error on application reload

This commit is contained in:
rolux 2013-07-22 13:14:58 +00:00
parent f381c6d786
commit f20b48d50a
1 changed files with 1 additions and 1 deletions

View File

@ -1629,7 +1629,7 @@ pandora.resizeFolders = function(section) {
pandora.$ui.folder[pos].css({width: width + 'px'});
$list.css({width: width + 'px'});
if (pandora.site.sectionFolders[section][pos].showBrowser) {
pandora.$ui.findListInput[id].options({
pandora.$ui.findListInput[id] && pandora.$ui.findListInput[id].options({
width: width - 24
});
$list.resizeColumn('user', userColumnWidth)