Skip to content

Commit

Permalink
Fixed a bug in the example app where the friends list was not being l…
Browse files Browse the repository at this point in the history
…oaded.
  • Loading branch information
tylerwolf committed Oct 30, 2013
1 parent 8e85e66 commit 34f6c39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/app/controller/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 34f6c39

Please sign in to comment.