Merge pull request #1560 from ONLYOFFICE/fix/table-styles
[DE] Fix table styles loading
This commit is contained in:
commit
1f15e65846
|
@ -741,7 +741,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
selectCurrentTableStyle: function() {
|
selectCurrentTableStyle: function() {
|
||||||
if (!this.mnuTableTemplatePicker) return;
|
if (!this.mnuTableTemplatePicker || this._state.beginPreviewStyles) return;
|
||||||
|
|
||||||
var rec = this.mnuTableTemplatePicker.store.findWhere({
|
var rec = this.mnuTableTemplatePicker.store.findWhere({
|
||||||
templateId: this._state.TemplateId
|
templateId: this._state.TemplateId
|
||||||
|
@ -766,6 +766,7 @@ define([
|
||||||
|
|
||||||
onEndTableStylesPreview: function(){
|
onEndTableStylesPreview: function(){
|
||||||
!this._state.currentStyleFound && this.selectCurrentTableStyle();
|
!this._state.currentStyleFound && this.selectCurrentTableStyle();
|
||||||
|
this.mnuTableTemplatePicker && this.mnuTableTemplatePicker.scroller.update({alwaysVisibleY: true});
|
||||||
},
|
},
|
||||||
|
|
||||||
onAddTableStylesPreview: function(Templates){
|
onAddTableStylesPreview: function(Templates){
|
||||||
|
|
Loading…
Reference in a new issue