aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/LikeList.js
diff options
context:
space:
mode:
authorTeddy Wing2012-06-24 01:01:45 -0400
committerTeddy Wing2012-06-24 01:01:45 -0400
commitb847cd11cebcc0a56ffc2043d4372e3be488e45c (patch)
tree8ed4b698f2607c8160225b6a86d78d747a8f57c5 /Resources/friendship/ui/LikeList.js
parent0ff7e70b07e350ac3bb0181b0a92b0127bea2d09 (diff)
parente54e5a688f90e92bb0540c791682145153d44783 (diff)
downloadLikeFeed-b847cd11cebcc0a56ffc2043d4372e3be488e45c.tar.bz2
Merge branch 'master' of github.com:teddywing/LikeFeed
Conflicts: Resources/friendship/ui/LikeList.js
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 1e4c815..58574e3 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -48,24 +48,15 @@
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
- }));
- });
- */
var loading = fs.ui.createLoadingView();
ll_view.add(loading);
// Ti.App.fireEvent('app:show.loader');
- 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] ) );
}
Ti.App.fireEvent('app:hide.loader');