aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/ApplicationWindow.js
diff options
context:
space:
mode:
authorAnqi Xu2012-06-24 12:45:05 -0400
committerAnqi Xu2012-06-24 12:45:05 -0400
commit1a9c58f10c98565124141840a61a34494f4d4579 (patch)
treee826e48c78367f0fe3678075516c5ecae57a403f /Resources/friendship/ui/ApplicationWindow.js
parente06955279665f5ead6414c2f23485997e77dbad9 (diff)
parent3c1f3dc92d5ffad081afc560f24d0610f64d60bf (diff)
downloadLikeFeed-1a9c58f10c98565124141840a61a34494f4d4579.tar.bz2
Merge branch 'master' of github.com:teddywing/LikeFeed
Conflicts: tiapp.xml
Diffstat (limited to 'Resources/friendship/ui/ApplicationWindow.js')
-rw-r--r--Resources/friendship/ui/ApplicationWindow.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js
index 8f4835b..067969a 100644
--- a/Resources/friendship/ui/ApplicationWindow.js
+++ b/Resources/friendship/ui/ApplicationWindow.js
@@ -8,14 +8,16 @@
image: 'images/refresh.png',
height: 5
});
- refresh_button.addEventListener('click', fs.ui.refreshLikeList);
+ refresh_button.addEventListener('click', fs.ui.refreshAllFriendsLikeList);
+
+ var friend_selector_button = fs.ui.friendSelectorButton();
var win = Ti.UI.createWindow({
barColor: fs.ui.styles.navBarColour,
title: 'Sphnx',
tabBarHidden: true,
- leftNavButton: refresh_button
-// rightNavButton: login_button
+ leftNavButton: refresh_button,
+ rightNavButton: friend_selector_button
});
var loading = fs.ui.createLoadingView();
win.add(loading);