[typo] Help with comment box in themes
Scott Laird
scott at sigkill.org
Wed Aug 9 17:29:11 EDT 2006
No idea. Have you looked at Azure's Javascript?
Scott
On 8/9/06, Jason Burks <jburks725 at gmail.com> wrote:
> Hmm...I did a little more testing when I got home from work and
> discovered that, for some very odd reason, the textarea clearing seems
> to work for Scribbish in Safari, but not in Flock or Firefox on my
> Mac. In my testing at work, Azure seemed to work in Firefox and
> Flock, but not Scribbish. Now I'm thoroughly confused. Anyone got
> any suggestions?
>
> Btw, this is with latest svn trunk, including the Rails 1.1.5 push.
>
> -Jason
>
> On 8/9/06, Jason Burks <jburks725 at gmail.com> wrote:
> > I've noticed that the Scribbish theme doesn't support some of the
> > slick comment functionality that Azure does. Namely, it doesn't seem
> > to have the admin "buttons" for nuking or editing, and it doesn't seem
> > to slide the comments into place. I've managing to hack both of those
> > in pretty easily, but I'm stumped on one final piece. When I submit a
> > comment, it does not clear the comment_body textarea.
> >
> > I've looked at the default view code for _comment_box.rhtml in Azure,
> > and I've compared it to what I've got for my hacked up Scribbish, and
> > I cannot see why it's not working. The textareas in both are created
> > with <%= text_area 'comment', 'body' %> tags. The form id and name
> > are both the same. I've modified the Submit button code so it matches
> > Azure (that was the key to getting the comment to slide into place),
> > but I cannot for the life of me find the piece that will clear that
> > textarea. Any help would be greatly appreciated, and I'll happily
> > submit my diffs once I get it working.
> >
> > Regards,
> > Jason
> >
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
More information about the Typo-list
mailing list