diff options
Diffstat (limited to 'Resources/friendship/ui/ApplicationWindow.js')
| -rw-r--r-- | Resources/friendship/ui/ApplicationWindow.js | 8 |
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); |
