Răsfoiți Sursa

修复提交选人框可能看不到已选框的问题

unknown 5 ani în urmă
părinte
comite
4d25cd0217
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      o2web/source/x_component_Selector/Person.js

+ 1 - 1
o2web/source/x_component_Selector/Person.js

@@ -1580,7 +1580,7 @@ MWF.xApplication.Selector.Person = new Class({
             //if (this.options.count.toInt() !== 1){
             var width = nodeWidth - getOffsetX(this.selectNode) - getOffsetX(this.selectedContainerNode);
 
-            var halfWidth = this.options.noSelectedContainer ? width : Math.floor(width / 2);
+            var halfWidth = this.options.noSelectedContainer ? width : ( Math.floor(width / 2) - 2);
 
             this.selectNode.setStyle("width", halfWidth);
             //this.searchInput.setStyle("width", halfWidth - 6);