[DE mobile] Fixed display default table styles.
This commit is contained in:
parent
23dae4e89b
commit
cb6492e690
|
@ -48,7 +48,8 @@ define([
|
|||
'use strict';
|
||||
|
||||
DE.Controllers.AddTable = Backbone.Controller.extend(_.extend((function() {
|
||||
var _styles = [];
|
||||
var _styles = [],
|
||||
_initDefaultStyles = false;
|
||||
|
||||
return {
|
||||
models: [],
|
||||
|
@ -75,7 +76,10 @@ define([
|
|||
initEvents: function () {
|
||||
var me = this;
|
||||
|
||||
if (_styles.length < 1) {
|
||||
if (!_initDefaultStyles) {
|
||||
_initDefaultStyles = true;
|
||||
_styles = [];
|
||||
|
||||
me.api.asc_GetDefaultTableStyles();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue