Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

proto-item in select-many #12

Open bryanlarsen opened 11 years ago

bryanlarsen commented 11 years ago

Just stumbled across this old bug report on the mailing list.

https://mail.google.com/mail/u/0/#search/radio/139c0436c2c02ac8

iox commented 11 years ago

It looks like the link is not public, maybe you copied it from gmail instead of google groups?

bryanlarsen commented 11 years ago

On Wednesday, July 22, 2009 8:43:20 PM UTC-4, adamski wrote: Ok, so the problem was solved by replacing occurances of this.element.down('select') with this.element.down('select.item- select'), and then adding a class of 'item-select' to the select in the select-many tag definition. This allows other select tags to appear within the proto-item definition without causing conflicts.

I think this would be a good change to make to the Hobo rapid library, and may be one small step to making the tag more customiseable in the future.