diff --git a/static/js/pandora/folderList.js b/static/js/pandora/folderList.js index ea941b3f..9d010094 100644 --- a/static/js/pandora/folderList.js +++ b/static/js/pandora/folderList.js @@ -338,6 +338,11 @@ pandora.ui.folderList = function(id) { }); } }, + /* + edit: function() { + pandora.ui.listDialog().open(); + }, + */ init: function(data) { pandora.site.sectionFolders[pandora.user.ui.section][i].items = data.items; pandora.$ui.folder[i].$content.css({ diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 106e13f8..dc07ed1a 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -123,7 +123,7 @@ pandora.addList = function() { $folderList.bindEventOnce({ load: function(data) { $folderList.gainFocus() - .options({selected: [list]}) + .options({selected: [newList]}) .editCell(newList, 'name'); pandora.UI.set({ find: {