提交 0a22fc81 编写于 作者: 蔡祥熠

Merge branch 'fix/application_filter' into 'develop'

Merge of fix/application_filter 修复流程应用界面删除关键字搜索后关闭问题 to develop

See merge request o2oa/o2oa!702
......@@ -420,10 +420,14 @@ MWF.xApplication.process.Application.WorkExplorer = new Class({
var valueId = this.retrieve("valueId");
if (_self.filter[key]){
_self.filter[key] = _self.filter[key].filter(function(o){
return o.value!==valueId;
});
if (!_self.filter[key].length) delete _self.filter[key];
if( o2.typeOf( _self.filter[key] ) === "string" ){
delete _self.filter[key];
}else{
_self.filter[key] = _self.filter[key].filter(function(o){
return o.value!==valueId;
});
if (!_self.filter[key].length) delete _self.filter[key];
}
}
// if (_self.filter[key]) _self.filter[key] = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册