diff options
| author | Teddy Wing | 2012-06-24 05:38:01 -0400 |
|---|---|---|
| committer | Teddy Wing | 2012-06-24 05:38:01 -0400 |
| commit | 6f5e24ff830fa83e7fc640c4ce5599381dbf282c (patch) | |
| tree | 2e2003086f403aeedb4ecbc29bc0eabf474cda89 /Resources/friendship/ui/ApplicationWindow.js | |
| parent | 4ca2c86c189db5b476c9bef9c4b8f0744eada30b (diff) | |
| parent | 7f28bc955883e3847eae5ddaeac87445567660b3 (diff) | |
| download | LikeFeed-6f5e24ff830fa83e7fc640c4ce5599381dbf282c.tar.bz2 | |
Merge branch 'master' of github.com:teddywing/LikeFeed
Merged my & Nikita's table view UI edits.
Conflicts:
Resources/friendship/ui/LikeList.js
Diffstat (limited to 'Resources/friendship/ui/ApplicationWindow.js')
| -rw-r--r-- | Resources/friendship/ui/ApplicationWindow.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js index aab8262..8f4835b 100644 --- a/Resources/friendship/ui/ApplicationWindow.js +++ b/Resources/friendship/ui/ApplicationWindow.js @@ -27,7 +27,19 @@ }); win.add(fs.ui.createLikeList()); - fs.ui.refreshLikeList(); + + Ti.API.addEventListener("processFQLError", function(e) { + alert(e.what); + }); + + Ti.API.addEventListener("refreshAllData", function(e) { + if (Ti.Facebook.loggedIn) { + Ti.App.fireEvent('app:show.loader'); + fs.core.queryFriendIDsFQL(); + } + }) + Ti.API.fireEvent("refreshAllData"); + tab_group.addTab(tab); return tab_group; |
