Просмотр исходного кода

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

unknown 5 лет назад
Родитель
Сommit
7eaf725eb3
1 измененных файлов с 1 добавлено и 1 удалено
  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();