Hobo / hobo

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

Fix <input-many> and <sortable-input-many> #42

Closed tjhayasaka closed 11 years ago

tjhayasaka commented 11 years ago
  1. In <input-many>, after pressing the +Add button, "for=" attribute of the field <label>s for newly created inputs are not updated, and they are still pointing the hidden template.
  2. In <sortable-input-many>, after dragging/moving a item, "id="s and "name="s are still unchanged.
  3. In <sortable-input-many>, after dragging/moving a item, visibility of +/- buttons are not updated.

The integration test app doesn't cover these issues, but you can reproduce them manually on /projects/:id/edit.

iox commented 11 years ago

Thanks a lot for your pull request, I read through the code and it looks good. I'm going to merge it now :)