diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettings.js b/apps/spreadsheeteditor/main/app/view/ChartSettings.js index f6a083c93..68cf3afdf 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettings.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettings.js @@ -1074,16 +1074,16 @@ define([ if (count>0 && count==styles.length) { var data = stylesStore.models; _.each(styles, function(style, index){ - data[index].set('imageUrl', style.asc_getImageUrl()); + data[index].set('imageUrl', style.asc_getImage()); }); } else { var stylearray = [], selectedIdx = -1; _.each(styles, function(item, index){ stylearray.push({ - imageUrl: item.asc_getImageUrl(), - data : item.asc_getStyle(), - tip : me.textStyle + ' ' + item.asc_getStyle() + imageUrl: item.asc_getImage(), + data : item.asc_getName(), + tip : me.textStyle + ' ' + item.asc_getName() }); }); stylesStore.reset(stylearray, {silent: false});