forked from 0x2620/pandora
fix a bug that would break a list folder after adding a list
This commit is contained in:
parent
de0fae53c2
commit
f5aadf2267
2 changed files with 6 additions and 1 deletions
|
@ -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({
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue