fix renaming list

This commit is contained in:
j 2014-10-31 14:27:45 +01:00
commit f5fb255e20
3 changed files with 3 additions and 4 deletions

View file

@ -792,7 +792,6 @@ oml.getLists = function(callback) {
var ui = oml.user.ui;
Ox.Request.clearCache('getLists');
oml.api.getLists(function(result) {
var username = oml.user.preferences.username;
ui._lists = result.data.lists.map(function(list) {
// FIXME: 'editable' is notoriously vague
list.name = list.type == 'libraries' ? Ox._('Libraries')