avoid error if list has not loaded yet
This commit is contained in:
parent
9c3edac263
commit
dffb47ffef
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ pandora.ui.folderList = function(id, section) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
paste: function() {
|
paste: function() {
|
||||||
pandora.$ui.list.triggerEvent('paste');
|
pandora.$ui.list && pandora.$ui.list.triggerEvent('paste');
|
||||||
},
|
},
|
||||||
select: function(data) {
|
select: function(data) {
|
||||||
var list = data.ids.length ? data.ids[0] : '';
|
var list = data.ids.length ? data.ids[0] : '';
|
||||||
|
|
Loading…
Reference in a new issue