adding class for datepicker to load from
Oleg
committed Sep 16, 2011
commit 2b2a2a5136e4447c88199ef876e3d2afebbf9a60
Showing 2
changed files with
2 additions
and 2 deletions
README.md
+1
-1
| @@ | @@ -1,4 +1,4 @@ |
| - | # ComfortableMexicanSofa (Rails 3 CMS Engine) [](http://travis-ci.org/twg/comfortable-mexican-sofa) |
| + | # ComfortableMexicanSofa (Rails 3 CMS Engine) [](http://travis-ci.org/twg/comfortable-mexican-sofa) |
| ComfortableMexicanSofa is a powerful CMS Engine for your Rails 3 applications. | |
app/assets/javascripts/comfortable_mexican_sofa/application.js
+1
-1
| @@ | @@ -91,7 +91,7 @@ $.CMS = function(){ |
| }, | |
| enable_date_picker: function(){ | |
| - | $('input[type=datetime]').datepicker(); |
| + | $('input[type=datetime], input[type=text].datetime').datepicker(); |
| }, | |
| tree_methods: function(){ | |