Editor tables now load i18n correctly after search.

This commit is contained in:
Ruben Vereecken 2014-03-03 00:31:49 +01:00
parent c3c699df49
commit c2d247e686

View file

@ -77,6 +77,7 @@ module.exports = class ThangTypeHomeView extends View
documents = @collection.models
table = $(@tableTemplate(documents:documents))
@$el.find('table').replaceWith(table)
@$el.find('table').i18n()
removeOldSearch: ->
return unless @collection?