[SSE] Fix bug in template table for right menu

This commit is contained in:
Alexei Koshelev 2022-10-12 15:15:39 +03:00
parent bd6b1c9ab3
commit cec32c8470

View file

@ -565,19 +565,6 @@ define([
menu.alignPosition();
}
}
var scroller = self.mnuTableTemplatePicker.scroller;
if (scroller) {
scroller.update({alwaysVisibleY: true});
scroller.scrollTop(0);
}
var val = self.mnuTableTemplatePicker.store.findWhere({name: self._state.tablestylename});
if (val)
self.mnuTableTemplatePicker.selectRecord(val);
else
self.mnuTableTemplatePicker.deselectAll();
});
this.btnTableTemplate.render($('#table-btn-template'));