Parcourir la source

Merge branch 'fix/Org.search_execption' into 'develop'

Merge of fix/[组织管理]修复组织视图搜索可能报错的问题 to develop

See merge request o2oa/o2oa!631
蔡祥熠 il y a 5 ans
Parent
commit
a4ee4883f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      o2web/source/x_component_Org/$Explorer.js

+ 1 - 1
o2web/source/x_component_Org/$Explorer.js

@@ -244,9 +244,9 @@ MWF.xApplication.Org.$Explorer = new Class({
     },
     searchOrg: function(){
         var key = this.searchInputNode.get("value");
+        var isSearchElement = true;
         if (key){
             if (key!==this.options.lp.searchText){
-                var isSearchElement = true;
                 if (this.currentItem) isSearchElement = this.currentItem.unSelected();
                 if (isSearchElement){
                     this._listElementByKey(function(json){