Skip to content

Commit

Permalink
iPhone working OK
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkaga committed May 19, 2012
1 parent 75e6ac4 commit 96c701d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ rms.ipr
rms.iws
.idea/
node_modules/
npm-debug.log
2 changes: 1 addition & 1 deletion iphone/js/app.js
Expand Up @@ -233,7 +233,7 @@ directory.Router = Backbone.Router.extend({
},

directReports: function(id) {
var employee = new directory.models.Employee({_id: parseInt(id)});
var employee = new directory.models.Employee({_id: id});
employee.reports.fetch();
this.slidePage(new directory.views.DirectReportPage({model: employee.reports}).render());
},
Expand Down

0 comments on commit 96c701d

Please sign in to comment.