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.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index 1a98bf6..d60004f 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -125,7 +125,16 @@
Ti.App.fireEvent('app:hide.loader');
});
-
+
return ll_view;
};
- })();
+
+ fs.ui.refreshLikeList = function(e) {
+ if (Ti.Facebook.loggedIn) {
+ Ti.App.fireEvent('app:show.loader');
+ fs.core.queryAllFriendPostsFQL();
+ } else {
+ Ti.Facebook.fireEvent('login');
+ }
+ };
+})();