Fix displaying placeholder message on empty containers
This commit is contained in:
@@ -88,7 +88,7 @@ define([
|
|||||||
renderOptions: newRenderOptions
|
renderOptions: newRenderOptions
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
emptyView: Module.ContainerBlockEmptyView,
|
emptyView: function() { return Module.ContainerBlockEmptyView; },
|
||||||
emptyViewOptions: function() { return { renderOptions: this.renderOptions }; },
|
emptyViewOptions: function() { return { renderOptions: this.renderOptions }; },
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
this.renderOptions = options.renderOptions;
|
this.renderOptions = options.renderOptions;
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
</select></div>
|
</select></div>
|
||||||
<div class="mailpoet_post_selection_filter_row">
|
<div class="mailpoet_post_selection_filter_row">
|
||||||
<select class="mailpoet_select mailpoet_posts_categories_and_tags" multiple="multiple">
|
<select class="mailpoet_select mailpoet_posts_categories_and_tags" multiple="multiple">
|
||||||
{{#each terms}}
|
{{#each model.terms}}
|
||||||
<option value="{{ id }}" selected="selected">{{ text }}</option>
|
<option value="{{ id }}" selected="selected">{{ text }}</option>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</select>
|
</select>
|
||||||
|
Reference in New Issue
Block a user