class is a reserved keyword in JavaScript. You must either use
className or escape it.

try either of the following:

this.area.setValue(this.options.value).wrap('div', {'class':'editor-
wrapper'}).insert({
    top:   new Element('div', {'class':'editor-buttons'}).update('top-
bar'),
    bottom:new Element('div', {'class':'editor-
smiles'}).update('bottom-bar')
});

this.area.setValue(this.options.value).wrap('div', {className:'editor-
wrapper'}).insert({
    top:   new Element('div', {className:'editor-
buttons'}).update('top-bar'),
    bottom:new Element('div', {className:'editor-
smiles'}).update('bottom-bar')
});

Regards,

Tobie

On Nov 16, 7:42 pm, Roland <[EMAIL PROTECTED]> wrote:
> http://dev.rubyonrails.org/ticket/10189
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to