diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductSpecAttrPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductSpecAttrPopup.cshtml index 251dc5b69..fc103a073 100644 --- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductSpecAttrPopup.cshtml +++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductSpecAttrPopup.cshtml @@ -2,8 +2,8 @@ @{ Layout = ""; } -
@@ -61,7 +61,11 @@
-
+
+ + +
+
@@ -174,23 +178,31 @@ $('#pnlCustomValue').hide(); $('#pnlCustomName').hide(); $('#disableOnCustom').show(); + $('#pnlCustomValueText').hide(); + $('#pnlCustomHTMLText').hide(); $('#pnlAllowFiltering').show(); } else if (selectedTypeId == @(((int)SpecificationAttributeType.CustomText).ToString())) { $('#pnlSpecificationAttributeOptionId').hide(); $('#pnlCustomName').show(); $('#pnlCustomValue').show(); + $('#pnlCustomValueText').show(); + $('#pnlCustomHTMLText').hide(); $('#disableOnCustom').hide(); $('#pnlAllowFiltering').hide(); } else if (selectedTypeId == @(((int)SpecificationAttributeType.CustomHtmlText).ToString())) { $('#pnlSpecificationAttributeOptionId').hide(); $('#pnlCustomName').show(); $('#pnlCustomValue').show(); + $('#pnlCustomValueText').hide(); + $('#pnlCustomHTMLText').show(); $('#disableOnCustom').hide(); $('#pnlAllowFiltering').hide(); } else if (selectedTypeId == @(((int)SpecificationAttributeType.Hyperlink).ToString())) { $('#pnlSpecificationAttributeOptionId').hide(); $('#pnlCustomName').show(); $('#pnlCustomValue').show(); + $('#pnlCustomValueText').hide(); + $('#pnlCustomHTMLText').hide(); $('#disableOnCustom').hide(); $('#pnlAllowFiltering').hide(); }