aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--Resources/app.js2
-rw-r--r--Resources/friendship/ui/ApplicationWindow.js2
3 files changed, 3 insertions, 1 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..5008ddf
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/Resources/app.js b/Resources/app.js
index 3835b41..fb6d46e 100644
--- a/Resources/app.js
+++ b/Resources/app.js
@@ -1,5 +1,7 @@
Ti.include('/friendship/friendship.js');
+Ti.API.info("Running the app - app.js");
+
fs.app.mainTabGroup = fs.ui.createApplicationTabGroup();
// Login switch
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js
index fae78d4..14444a2 100644
--- a/Resources/friendship/ui/ApplicationWindow.js
+++ b/Resources/friendship/ui/ApplicationWindow.js
@@ -1,7 +1,6 @@
(function() {
fs.ui.createApplicationTabGroup = function() {
var tab_group = Ti.UI.createTabGroup();
- Ti.UI.currentTabGroup = tab_group;
var login_button = Ti.Facebook.createLoginButton({
top: 50,
@@ -10,6 +9,7 @@
var debug_button = Ti.UI.createButton({title: 'Debug'});
debug_button.addEventListener('click', function(e) {
+
Ti.API.info('Logged in: ' + JSON.stringify(Ti.Facebook.loggedIn));
if (Ti.Facebook.loggedIn) {
fs.core.queryAllFriendPostsFQL();