lavmax/MUX.Dialog — pull request #8 by maverick (2012-05-21 18:18:38+00:00)
Title: Patch for Mux.Dialog IE8 bug

Hello,

The auto focus code in open() didn't test to see if the first non-disabled element was visible before trying to focus it. Other browsers simply ignore this, IE8 throws an exception.

I updated the focus code to loop through the elements looking for the first enabled and visible input element to focus.

Thanks,

-- Maverick