[SSE] Update pivot templates.
This commit is contained in:
parent
52ec352dd4
commit
e36c7ef07d
|
@ -127,8 +127,6 @@ define([
|
||||||
this._originalProps.asc_getStyleInfo().asc_setShowColStripes(this.api, this._originalProps, value=='checked');
|
this._originalProps.asc_getStyleInfo().asc_setShowColStripes(this.api, this._originalProps, value=='checked');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps.asc_getStyleInfo(), true));
|
|
||||||
this.onApiInitPivotStyles(this.api.asc_getTablePictures(null, true));
|
|
||||||
Common.NotificationCenter.trigger('edit:complete', this);
|
Common.NotificationCenter.trigger('edit:complete', this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -180,8 +178,7 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needTablePictures)
|
if (needTablePictures)
|
||||||
// this.onApiInitPivotStyles(this.api.asc_getTablePictures(styleInfo, true));
|
this.onApiInitPivotStyles(this.api.asc_getTablePictures(styleInfo, true));
|
||||||
this.onApiInitPivotStyles(this.api.asc_getTablePictures(null, true));
|
|
||||||
|
|
||||||
//for table-template
|
//for table-template
|
||||||
value = styleInfo.asc_getName();
|
value = styleInfo.asc_getName();
|
||||||
|
@ -208,8 +205,7 @@ define([
|
||||||
onSendThemeColors: function() {
|
onSendThemeColors: function() {
|
||||||
// get new table templates
|
// get new table templates
|
||||||
if (this.view.pivotStyles && this._originalProps) {
|
if (this.view.pivotStyles && this._originalProps) {
|
||||||
// this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps.asc_getStyleInfo(), true));
|
this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps.asc_getStyleInfo(), true));
|
||||||
this.onApiInitPivotStyles(this.api.asc_getTablePictures(null, true));
|
|
||||||
this.view.pivotStyles.menuPicker.scroller.update({alwaysVisibleY: true});
|
this.view.pivotStyles.menuPicker.scroller.update({alwaysVisibleY: true});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue