|
|
|
@ -1691,13 +1691,13 @@ |
|
|
|
|
this.$el.find('#filestable thead th').addClass('hidden'); |
|
|
|
|
this.$el.find('#emptycontent').addClass('hidden'); |
|
|
|
|
if ( $('#searchresults').length === 0 || $('#searchresults').hasClass('hidden')) { |
|
|
|
|
this.$el.find('#nofilterresults').removeClass('hidden'). |
|
|
|
|
this.$el.find('.nofilterresults').removeClass('hidden'). |
|
|
|
|
find('p').text(t('files', "No entries in this folder match '{filter}'", {filter:this._filter})); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty); |
|
|
|
|
this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty); |
|
|
|
|
this.$el.find('#nofilterresults').addClass('hidden'); |
|
|
|
|
this.$el.find('.nofilterresults').addClass('hidden'); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
/** |
|
|
|
|