Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Book title still appear after new book added #18

Merged
merged 1 commit into from

2 participants

Dody Rachmat Wicaksono Naoki KODAMA
Dody Rachmat Wicaksono

Need to remove the book title when trying to add new book for second time and so on.

Naoki KODAMA volpe28v merged commit fda9cc1 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 6, 2012
  1. Dody Rachmat Wicaksono
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/assets/javascripts/todo.js
1  app/assets/javascripts/todo.js
View
@@ -21,6 +21,7 @@ function initNewBookAction(){
$('#new_book').click(function(){
$('#book_in').modal('show');
setTimeout(function(){
+ $('#book_name').val('');
$('#book_name').focus();
},500);
});
Something went wrong with that request. Please try again.