diff options
author | Alon Gazit <alon@mono-cvs.ximian.com> | 2004-01-05 17:53:01 +0300 |
---|---|---|
committer | Alon Gazit <alon@mono-cvs.ximian.com> | 2004-01-05 17:53:01 +0300 |
commit | b6cefa9d8365ee032333a04c62a95891de928218 (patch) | |
tree | c6bfb0f9cff7b1cf337e5149003ddac9fde074ac | |
parent | 1e6f396c31789b0ae8a9627bf25515e8ec77f94d (diff) |
fix typo in LoadPostData().
svn path=/trunk/mcs/; revision=21715
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog | 3 | ||||
-rwxr-xr-x | mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog index adc7e4b2b14..31f2045e4a5 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog @@ -1,3 +1,6 @@ +2003-12-28 Alon Gazit <along@mainsoft.com> + * HtmlSelect.cs: fix typo in LoadPostData(). + 2003-12-29 Alon Gazit <along@mainsoft.com> * HtmlInputButton.cs: update the implementation of RenderAttributes(). Change the if statement that determines if the onclick script is rendered. diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs index c4c9e7a17c1..dbaeffdb3bc 100755 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs @@ -211,7 +211,7 @@ namespace System.Web.UI.HtmlControls{ //test if everything went fine if( postedValueCount == SelectedIndices.Length){ for (int i = 0; i < postedValueCount; i++) - if(arr[i] == SelectedIndices[i]) + if(arr[i] != SelectedIndices[i]) changed = true; } else |