Fix displaying placeholder message on empty containers

This commit is contained in:
Tautvidas Sipavičius
2017-04-13 16:29:08 +03:00
parent 5efe611b2d
commit 92b128039a
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ define([
renderOptions: newRenderOptions
};
},
emptyView: Module.ContainerBlockEmptyView,
emptyView: function() { return Module.ContainerBlockEmptyView; },
emptyViewOptions: function() { return { renderOptions: this.renderOptions }; },
initialize: function(options) {
this.renderOptions = options.renderOptions;