Re: Need Help With Datebock plugin

Nathaniel Brown
Thu, 29 Mar 2007 08:49:35 -0000

Hey Dlo,

Sounds like you might not be including all the javascripts as required.

You can send it to me at nshb(at)inimit.com

If you have any externals, use svn export before you tar/zip it up so
I make sure I get the same.

Nathaniel.

On 3/28/07, dlo
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
>
> Nathaniel,
>
> Ok, I don''t have a URL but I''m willing to send you my
project over.
> Please email me at spankdan-/E1597aS9LQAvxtiuMwx3w@public.gmane.org  But
checking the error console I
> get this error:
>
> Error:  DatetimeToolbocks is not defined
> Source file http://localhost:3000/table_rate/create Line 153
>
> I click on the error and it brings me to,
>
>
>         new DatetimeToolbocks({
>           elementId:
''DatetimeToolbocksTableRateStartDate'',
>           inputName: ''table_rate[start_date]'',
>           inputValue: '''',
>           showHelp: true,
>           format: ''yyyy-mm-dd'',
>           autoRollOver: true,
>           calendarOptions: {align:"Br"}
>         });
>
>
> where new DatetimeToolbocks is highlighted.
>
> The line in my code is like this.
>
> <%= toolbocks_date_select ''table_rate'',
''start_date'' %>
>
> Hope to hear from you soon Nathaniel and yes I can see the control on
> your page.
>
> dlo
>
> Nathaniel Brown wrote:
> > Very strange. Does it at least work when you visit
> > http://datetime.toolbocks.com ?
> >
> > You might have to restart your server if you didn''t already
do so. You
> > ma have old javascript old in your public dir which gets updated on
> > restart.
> >
> > Also, if you have a URL I can check out, I wouldn''t mind
seeing it for
> > myself. There should be a javascript error that appears. If you can
> > paste that in here, would definaely help track down the reason why
> > it''s not working for you.
> >
> > Nathaniel.
>
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


--
Nathaniel Steven Henry Brown

Toll Free: 1-877-446-4647
Vancouver: 604-724-6624