Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[index] rivets doesn't like length of 0. fixes #169 #173

Merged
merged 1 commit into from
Dec 16, 2013

Conversation

hshoff
Copy link
Contributor

@hshoff hshoff commented Dec 13, 2013

fixes #169

@ssorallen
Copy link
Contributor

Is the job count updated elsewhere? I remember seeing a spot or two that set the innerHTML of that element.

@hshoff
Copy link
Contributor Author

hshoff commented Dec 15, 2013

Yeah, it's a little sloppy right now, but it get's updated in application_view.js

updateJobsCount: function() {
  this.$('.all-jobs-count').text(app.jobsCollection.length);
}

It's another TODO for me to clean that up.

@ssorallen
Copy link
Contributor

Cool.

:shipit:

florianleibert added a commit that referenced this pull request Dec 16, 2013
[index] rivets doesn't like length of 0. fixes #169
@florianleibert florianleibert merged commit ef5745c into master Dec 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Total jobs shows "[Object object]" when job count is zero
3 participants