diff --git a/static/js/folders.js b/static/js/folders.js index e8845bf..f2ce140 100644 --- a/static/js/folders.js +++ b/static/js/folders.js @@ -310,7 +310,13 @@ oml.ui.folders = function() { oml.$ui.folder[index].options({title: Ox.encodeHTMLEntities(name)}); oml.getLists(function(lists) { var items = lists.filter(function(list) { - return list.user == name && list.type != 'library'; + return list.user == name && list.type != 'library'; + }), + library = lists.filter(function(list) { + return list.user == name && list.type == 'library'; + }); + oml.$ui.libraryList[index].options({ + items: library }); oml.$ui.folder[index].$content .css({height: 16 + items.length * 16 + 'px'}); diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index af8f0c3..df78067 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -478,7 +478,7 @@ oml.ui.mainMenu = function() { } } else if (id == 'quit') { oml.api.quit(function() { - // + // ... }); } else { Ox.print('MAIN MENU DOES NOT YET HANDLE', id); diff --git a/static/js/utils.js b/static/js/utils.js index 232b5ad..40fb7a2 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -947,7 +947,7 @@ oml.renameUser = function(data) { } }); } - + }; oml.resizeFilters = function() {