[Mono-dev] "Label2" in commit 92114

Atsushi Eno atsushi at ximian.com
Mon Jan 7 02:22:32 EST 2008


Just to not let people investigate into and waste time on the same
issue, this issue is fixed at r92196 without notice here.

Atsushi Eno


Juraj Skripsky wrote:
> Hi Igor,
> 
> I've noticed something strange in your latest commit:
> 
> +               private void WriteExpandoAttributes (HtmlTextWriter writer) {
> +                       if (_expandoAttributes != null) {
> +                               for (int i = 0; i < _expandoAttributes.Count; i++) {
> +                                       RegisteredExpandoAttribute attr = _expandoAttributes [i];
> +                                       if (HasBeenRendered (attr.Control))
> +                                               WriteCallbackOutput (writer, expando, "document.getElementById('Label2')['" + attr.Name + "']", "\"" + attr.Value + "\"");
> +                               }
> +                       }
> +               }
> 
> You're sending "document.getElementById('Label2')['" + attr.Name + "']"
> to the html writer. Is this really correct or just a leftover from
> testing?
> 
> - Juraj
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list