forked from 0x2620/pandora
add placeholder handlers for selectbefore/selectafter
This commit is contained in:
parent
0c466f5dbf
commit
d163a951a1
1 changed files with 9 additions and 2 deletions
|
@ -230,7 +230,7 @@ pandora.ui.folders = function() {
|
|||
});
|
||||
});
|
||||
} else if (data.id == 'browse') {
|
||||
alert('??')
|
||||
// alert('??')
|
||||
/*
|
||||
pandora.$ui.sectionList[1].replaceWith(pandora.$ui.publicLists = pandora.ui.publicLists());
|
||||
pandora.site.showAllPublicLists = true;
|
||||
|
@ -245,9 +245,16 @@ pandora.ui.folders = function() {
|
|||
});
|
||||
//$sections.push(pandora.$ui.section[i]);
|
||||
pandora.$ui.folderList[folder.id] = pandora.ui.folderList(folder.id)
|
||||
.bindEvent({
|
||||
selectafter: function() {
|
||||
// ...
|
||||
},
|
||||
selectbefore: function() {
|
||||
// ...
|
||||
}
|
||||
})
|
||||
.bindEventOnce({
|
||||
init: function(data) {
|
||||
Ox.Log('', 'init', i, counter)
|
||||
if (++counter == 4) {
|
||||
pandora.$ui.folder.forEach(function($folder) {
|
||||
that.append($folder);
|
||||
|
|
Loading…
Reference in a new issue