Permalink
Browse files

fixes date picker to fill date field with the date and not an object

  • Loading branch information...
1 parent 5ef6352 commit 55aa3cbce28a11c6bd1913935e19cca42b099c0c jipiboily committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker.js
@@ -164,7 +164,7 @@
// The date= attribute is used here to provide relatively fast
// selectors for setting certain date cells.
- this.update($targ.attr("date"));
+ this.update($targ.get(0).getAttribute("date"));
// Don't consider this selection final if we're just going to an
// adjacent month.

0 comments on commit 55aa3cb

Please sign in to comment.