From 34f6c39dc5c84e25a24ded2aadfc7780ac51fa65 Mon Sep 17 00:00:00 2001 From: Tyler Wolf Date: Wed, 30 Oct 2013 16:02:00 -0700 Subject: [PATCH] Fixed a bug in the example app where the friends list was not being loaded. --- example/app/controller/Account.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/app/controller/Account.js b/example/app/controller/Account.js index 9bdbde5..0256dbb 100644 --- a/example/app/controller/Account.js +++ b/example/app/controller/Account.js @@ -20,7 +20,8 @@ Ext.define("StackMobSenchaTouchDemo.controller.Account", { savePictureButton: 'button[action=savePicture]', profileDetails: '#profileDetails', goToLoginButton: 'button[action=goToLogin]', - tabPanel: 'tabpanel' + tabPanel: 'tabpanel', + friendList: '#friendList' }, control: { accountMainView: { @@ -108,6 +109,7 @@ Ext.define("StackMobSenchaTouchDemo.controller.Account", { me.getApplication().setLoggedInUser(Ext.create('StackMobSenchaTouchDemo.model.User', me.conn.getAuthenticatedUserData())); me.showProfile(); Ext.Viewport.unmask(); + me.getFriendList().getStore().load(); }, failure: function() { Ext.Viewport.unmask();