瀏覽代碼

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

unknown 5 年之前
父節點
當前提交
4d25cd0217
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);