fix select record w/ categories

This commit is contained in:
yuri
2018-01-17 15:27:45 +02:00
parent a5bae56f8d
commit bbb418d2af
@@ -75,7 +75,13 @@ Espo.define('views/modals/select-records-with-categories', ['views/modals/select
buttonsDisabled: true,
checkboxes: false
}, function (view) {
view.render();
if (this.isRendered()) {
view.render();
} else {
this.listenToOnce(this, 'after:render', function () {
view.render();
}, this);
}
this.listenTo(view, 'select', function (model) {
this.currentCategoryId = null;