@@ -1,3 +1,8 @@
+2003-12-01 Jackson Harper <[email protected]>
+
+ * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
+ <[email protected]>.
2003-11-25 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
@@ -111,7 +111,7 @@ namespace System.Web.UI.HtmlControls{
return (disableAttr != null);
}
set {
- if (value)
+ if (!value)
Attributes.Remove ("disabled");
else
Attributes["disabled"] = "disabled";