jquery - date selector issue

16 views
Skip to first unread message

Bob Sleys

unread,
Mar 2, 2012, 10:49:16 AM3/2/12
to hobo...@googlegroups.com
I'm running what I believe to be the latest version of hobo with jquery but the jquery data selector isn't showing up for me on  date fields

Here is the resulting html code for a date field

<td class="sample-date-view">
             <input class="sample-date-tag date sample-sample-date" data_rapid="{&quot;datepicker&quot;:{&quot;events&quot;:{},&quot;options&quot;:{&quot;dateFormat&quot;:&quot;yy-mm-dd&quot;}}}" id="sample_sample_date" name="sample[sample_date]" type="text">

</td>

Once working I'd also like to set the default for the field to be today.

Bob

Bryan Larsen

unread,
Mar 2, 2012, 10:53:15 AM3/2/12
to hobo...@googlegroups.com
I recently fixed this bug for Peter. Make sure you're up-to-date on
the 1-3-no-prototype branch for hobo-jquery.

cheers,
Bryan

> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/Ut5RO_kAfDUJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

Bob Sleys

unread,
Mar 2, 2012, 1:21:37 PM3/2/12
to hobo...@googlegroups.com
Ok check into it more but I did run bundle update before posting and have the following in my Gemfile

gem 'hobo', :git => 'git://github.com/tablatom/hobo.git', :branch => 'jquery'
gem "jquery-rails"
gem "hobo-jquery", :git => "git://github.com/bryanlarsen/hobo-jquery.git", :branch => "no-prototype"

Bob

Bryan Larsen

unread,
Mar 2, 2012, 1:24:40 PM3/2/12
to hobo...@googlegroups.com
The branch name for hobo-jquery changed to 1-3-no-prototype. I ended
up accidentally pushing some 1.4 stuff into no-prototype, so decided
it was better to delete it than fix it. But I expected git to return
error messages to people like you so that you would have to fix things
up.

Bryan

>> > hobousers+...@googlegroups.com.


>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>

> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/hobousers/-/PcXKl2yTLpAJ.


>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to

> hobousers+...@googlegroups.com.

Bob Sleys

unread,
Mar 3, 2012, 9:51:16 AM3/3/12
to hobo...@googlegroups.com
DOH ok will fix my gemfile.  Thanks again for all the hard work.

Bob


>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/PcXKl2yTLpAJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to

Reply all
Reply to author
Forward
0 new messages