diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index 0240434ec..ae05d0f8f 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -103,7 +103,7 @@ define([ ].join(''); this.options.tpl = _.template(this.template)(this.options); - this.mathStore = this.options.mathStore || []; + this.mathStore = this.options.mathStore || new Common.UI.DataViewStore(); this.api = this.options.api; var path = this.appPrefix + "settings-math-correct"; @@ -127,7 +127,7 @@ define([ this.mathList = new Common.UI.ListView({ el: $window.find('#auto-correct-math-list'), store: this.mathStore, - simpleAddMode: true, + simpleAddMode: false, template: _.template(['
'].join('')), itemTemplate: _.template([ '