From: Dion O. <dol...@us...> - 2006-01-08 21:46:08
|
Update of /cvsroot/magicajax/magicajax/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29861/magicajax/Core Modified Files: MagicAjaxModule.cs Log Message: added some comments Index: MagicAjaxModule.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/MagicAjaxModule.cs,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** MagicAjaxModule.cs 8 Jan 2006 21:14:02 -0000 1.56 --- MagicAjaxModule.cs 8 Jan 2006 21:46:00 -0000 1.57 *************** *** 739,743 **** if ( _magicAjaxContext.IsPageNoStoreMode) { ! //reflect hidden fields newly added on callback MatchCollection hiddenFieldMatches = Util.HiddenInputTagsRegEx.Matches(html); for (int i = 0; i < hiddenFieldMatches.Count; i++) --- 739,747 ---- if ( _magicAjaxContext.IsPageNoStoreMode) { ! //Reflect hidden fields newly added on callback ! //Aside for __VIEWSTATE, hidden fields that have a name starting ! //with "__" are never reflected to the client. These fields are considered ! //system hidden fields. ! //HACK:is this the way to reflect newly added hidden fields? MatchCollection hiddenFieldMatches = Util.HiddenInputTagsRegEx.Matches(html); for (int i = 0; i < hiddenFieldMatches.Count; i++) |