From d163a951a1d80ed719d9906d336d4343d3a5dad4 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 15 Feb 2012 16:28:58 +0000 Subject: [PATCH] add placeholder handlers for selectbefore/selectafter --- static/js/pandora/folders.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/folders.js b/static/js/pandora/folders.js index ea53e891..4f0c17d7 100644 --- a/static/js/pandora/folders.js +++ b/static/js/pandora/folders.js @@ -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);