From: Argiris K. <be...@us...> - 2006-02-06 01:39:44
|
Update of /cvsroot/magicajax/magicajax/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7629/Core Modified Files: Util.cs Log Message: --Fixed client validation for 2.0 --At AjaxPanel.ReflectUpdatedFormValues and Util.GetHtmlWithClearedFormValues methods I replaced Hashtable.Add with Hashtable[]= to avoid exceptions when there are attributes with the same name at the same tag (badly formed html) Index: Util.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Util.cs,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** Util.cs 29 Jan 2006 23:06:53 -0000 1.27 --- Util.cs 6 Feb 2006 01:39:35 -0000 1.28 *************** *** 142,147 **** { string attrname = attrnames[j].Value.ToLower(System.Globalization.CultureInfo.InvariantCulture); ! attrNameValues.Add (attrname, attrvalues[j].Value); ! attrCaptures.Add (attrname, attributes[j]); } --- 142,147 ---- { string attrname = attrnames[j].Value.ToLower(System.Globalization.CultureInfo.InvariantCulture); ! attrNameValues[attrname] = attrvalues[j].Value; ! attrCaptures[attrname] = attributes[j]; } |