aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/LikeList.js
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/friendship/ui/LikeList.js')
-rw-r--r--Resources/friendship/ui/LikeList.js15
1 files changed, 3 insertions, 12 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index ce01096..b5a5e6b 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -48,19 +48,10 @@
fs.ui.createLikeList = function() {
var ll_view = Ti.UI.createTableView();
- /*
- ll_view.addEventListener('click', function(e) {
- Ti.UI.currentTabGroup.activeTab.open(fs.ui.createWebViewWin({
- title: e.title,
- url: e.url
- }));
- });
- */
- Ti.API.addEventListener( "processPosts", function( list ) {
- //Ti.UI.createAlertDialog( {title:"Items: " + list.list.length} ).show();
- for ( key in list.list ) {
- ll_view.appendRow( create_row( list.list[key] ) );
+ Ti.API.addEventListener("processPosts", function(d) {
+ for ( key in d.data ) {
+ ll_view.appendRow( create_row( d.data[key] ) );
}
});