app/views/admin/translations/update.js.haml in activeadmin-selleo-cms-0.0.51 vs app/views/admin/translations/update.js.haml in activeadmin-selleo-cms-0.0.52
- old
+ new
@@ -1,4 +1,4 @@
- if @translation and @translation.update_attribute(:value, params[:value])
- $('#translations.index input[data-locale="#{@translation.locale}"]').filter('[data-key="#{@translation.key}"]').closest('td').effect('highlight');
+ $('#index_table_translations.index input[data-locale="#{@translation.locale}"]').filter('[data-key="#{@translation.key}"]').closest('td').effect('highlight');
- else
alert('#{t("cms.errors.ajax.update.unknown_error")}');
\ No newline at end of file