import to list
This commit is contained in:
parent
b6faab1573
commit
07f54e1db3
2 changed files with 11 additions and 10 deletions
|
|
@ -808,14 +808,13 @@ oml.getLists = function(callback) {
|
|||
};
|
||||
|
||||
oml.getOwnListNames = function() {
|
||||
var ui = oml.user.ui,
|
||||
username = oml.user.preferences.username;
|
||||
var ui = oml.user.ui;
|
||||
return ui._lists.filter(function(list) {
|
||||
return list.user == username;
|
||||
}).filter(function(list) {
|
||||
return list.user == '' && list.type != 'library';
|
||||
}).map(function(list) {
|
||||
return list.name;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
oml.getPageTitle = function(stateOrURL) {
|
||||
var page = Ox.getObjectById(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue