Showing
1 changed file
with
1 additions
and
1 deletions
@@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
74 | $("#categoryEditForm").form("load", data.data); | 74 | $("#categoryEditForm").form("load", data.data); |
75 | if (data.data.parentId > 0) { | 75 | if (data.data.parentId > 0) { |
76 | $("#categoryEditForm #parentId").myCombobox("select", data.data.parentId); | 76 | $("#categoryEditForm #parentId").myCombobox("select", data.data.parentId); |
77 | - $("#categoryEditForm #parentId").myCombobox("disable"); | 77 | + $("#categoryEditForm #parentId").myCombobox('readonly'); |
78 | } else { | 78 | } else { |
79 | $("#categoryEditForm #parentId").myCombobox("select", ''); | 79 | $("#categoryEditForm #parentId").myCombobox("select", ''); |
80 | $("#categoryEditForm #parentId").myCombobox("disable"); | 80 | $("#categoryEditForm #parentId").myCombobox("disable"); |
-
Please register or login to post a comment