[SSE mobile] Fix checked filter when selected one cell
This commit is contained in:
parent
d405993747
commit
1c1663cecb
|
@ -69,6 +69,7 @@ define([
|
||||||
setApi: function (api) {
|
setApi: function (api) {
|
||||||
var me = this;
|
var me = this;
|
||||||
me.api = api;
|
me.api = api;
|
||||||
|
me.api.asc_registerCallback('asc_onError', _.bind(me.onError, me));
|
||||||
|
|
||||||
// me.api.asc_registerCallback('asc_onInitEditorFonts', _.bind(onApiLoadFonts, me));
|
// me.api.asc_registerCallback('asc_onInitEditorFonts', _.bind(onApiLoadFonts, me));
|
||||||
|
|
||||||
|
@ -139,6 +140,12 @@ define([
|
||||||
this.api.asc_changeAutoFilter(tablename, Asc.c_oAscChangeFilterOptions.filter, checked);
|
this.api.asc_changeAutoFilter(tablename, Asc.c_oAscChangeFilterOptions.filter, checked);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onError: function(id, level, errData) {
|
||||||
|
if(id === Asc.c_oAscError.ID.AutoFilterDataRangeError) {
|
||||||
|
this.getView('AddOther').optionAutofilter(false);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
textEmptyImgUrl : 'You need to specify image URL.',
|
textEmptyImgUrl : 'You need to specify image URL.',
|
||||||
txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"'
|
txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue