Explorar o código

修复组织管理里修改性别为其他的时候不能正常显示的问题

unknown %!s(int64=5) %!d(string=hai) anos
pai
achega
7eaf725eb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      o2web/source/x_component_Org/PersonExplorer.js

+ 1 - 1
o2web/source/x_component_Org/PersonExplorer.js

@@ -676,7 +676,7 @@ MWF.xApplication.Org.PersonExplorer.PersonContent.BaseInfor = new Class({
         tdContents[4].setStyles(this.style.baseInforContentNode_edit).empty();
         var html = "<input name=\"personGenderRadioNode\" value=\"m\" type=\"radio\" "+((this.data.genderType==="m") ? "checked" : "")+"/>"+this.explorer.app.lp.man;
         html += "<input name=\"personGenderRadioNode\" value=\"f\" type=\"radio\" "+((this.data.genderType==="f") ? "checked" : "")+"/>"+this.explorer.app.lp.female;
-        html += "<input name=\"personGenderRadioNode\" value=\"o\" type=\"radio\" "+((this.data.genderType==="d") ? "checked" : "")+"/>"+this.explorer.app.lp.other;
+        html += "<input name=\"personGenderRadioNode\" value=\"d\" type=\"radio\" "+((this.data.genderType==="d") ? "checked" : "")+"/>"+this.explorer.app.lp.other;
         tdContents[4].set("html", html);
 
         tdContents[5].setStyles(this.style.baseInforContentNode_edit).empty();