[Mono-bugs] [Bug 339426] the attribute defaultbutton of the element <form> of ASP. NET pages doesn't seem to work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 6 07:47:05 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=339426#c5





--- Comment #5 from Juraj Skripsky <juraj at hotfeet.ch>  2007-11-06 05:47:04 MST ---
The problem with DefaultButton in Mono is that the "click()" method for
<a/>-Elements is not defined, but it is used in WebForm_FireDefaultButton:

webForm.WebForm_FireDefaultButton = function (event, target)
{
  ...

  if (defaultButton && typeof(defaultButton.click) != "undefined") {
    defaultButton.click();
    event.cancelBubble = true;
    return false;
  }
  return true;
}

I'll try to find an alternate way of "executing" an <a/>-based link.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list