app/views/admin/base/edit.js.erb in ab_admin-0.3.4 vs app/views/admin/base/edit.js.erb in ab_admin-0.3.5
- old
+ new
@@ -1,8 +1,8 @@
<%
el_id = dom_id(resource, 'list')
form_wrap_id = dom_id(resource, 'list_edit')
- html = %[<tr id="#{form_wrap_id}" class="warning"><td>#{render('form')}</td></tr>].html_safe
+ html = %[<tr id="#{form_wrap_id}" class="list_edit warning"><td>#{render('form')}</td></tr>].html_safe
%>
$('#<%= form_wrap_id %>').remove();
$('#<%= el_id %>').after('<%= j html %>');
$('#<%= form_wrap_id %> td').attr('colspan', $('#list tr:first th').length);
$('#<%= el_id %>').scrollToEl();