commit
bda352f4bc
|
@ -106,7 +106,7 @@ define([
|
||||||
// special
|
// special
|
||||||
this.mathList = new Common.UI.ListView({
|
this.mathList = new Common.UI.ListView({
|
||||||
el: $window.find('#auto-correct-math-list'),
|
el: $window.find('#auto-correct-math-list'),
|
||||||
store: new Common.UI.DataViewStore(this.props),
|
store: new Common.UI.DataViewStore(this.props.slice(0, 11)),
|
||||||
simpleAddMode: true,
|
simpleAddMode: true,
|
||||||
template: _.template(['<div class="listview inner" style=""></div>'].join('')),
|
template: _.template(['<div class="listview inner" style=""></div>'].join('')),
|
||||||
itemTemplate: _.template([
|
itemTemplate: _.template([
|
||||||
|
@ -180,6 +180,10 @@ define([
|
||||||
_.delay(function(){
|
_.delay(function(){
|
||||||
$('input', me.inputReplace.cmpEl).select().focus();
|
$('input', me.inputReplace.cmpEl).select().focus();
|
||||||
},100);
|
},100);
|
||||||
|
|
||||||
|
_.delay(function(){
|
||||||
|
me.mathList.store.reset(me.props);
|
||||||
|
},100);
|
||||||
},
|
},
|
||||||
|
|
||||||
onBtnClick: function(event) {
|
onBtnClick: function(event) {
|
||||||
|
|
|
@ -309,7 +309,7 @@
|
||||||
|
|
||||||
&:not(.icon-top)
|
&:not(.icon-top)
|
||||||
.caption:not(:empty) {
|
.caption:not(:empty) {
|
||||||
padding: 0 5px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|
Loading…
Reference in a new issue