fix a bug that would break a list folder after adding a list

This commit is contained in:
rolux 2011-11-07 18:45:06 +00:00
parent de0fae53c2
commit f5aadf2267
2 changed files with 6 additions and 1 deletions

View file

@ -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({

View file

@ -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: {