[Dojo-interest] Dijit Button bug
V S P
toreason at fastmail.fm
Wed Jul 29 20:12:48 EDT 2009
Jose Dustin is right,
there is a bug in in dojo bugracking about wizard closing the dialog on
IE8
that's because buttons do not have 'button' type defined
so IE8 decides that it was submit button
I had to go and change all the buttons in my code or in dojo where the
widgets
are 'inside' of the dialog to type="button"
I think this is an issue to resolve with dojo.parser that's why it has
been open for a while,
this is especially the case for Dojox widgets that have buttons defined
in templates -- very difficult to troubleshoot (as no 'errors' are
shown)
http://bugs.dojotoolkit.org/ticket/9334
On Wed, 29 Jul 2009 19:20 -0400, "Dustin Machi" <dmachi at dojotoolkit.org>
wrote:
> The attachment looks fine to me and loads a dialog when i open it in
> ff. Its using dojo.xd.js
>
> Dustin
>
> On Jul 29, 2009, at 7:10 PM, Bill Keese wrote:
>
> > Hmm, not sure, I can't see your attachment (well I can see it but it
> > doesn't have any reference to dojo in it), and clicking buttons in
> > dialogs works in our test page test_Dialog.html.
> >
> > Maybe you declared the button like <button>...</button> which
> > becomes a submit button on newer browsers (in adherence to the HTML
> > spec)... you should have <button type=button> IIRC.
> >
> >
> > On Thu, Jul 30, 2009 at 4:44 AM, Jose Noheda <jose.noheda at gmail.com>
> > wrote:
> > Hi,
> >
> > From time to time I must, as much as I hate it, fix some IE bugs in
> > IWebMvc2. The FileUploader one was obvious, this one not so much. It
> > happens when you click a Button on an open Dialog. The Dialog is
> > automatically closed. Go figure. I've attached a sample page that
> > opens one popup and proceeds to click the button, you'll notice the
> > popup is closed. Sometimes I hate having so many Dialogs in
> > IWebMvc :-)
> >
> > Regards
> >
> > _______________________________________________
> > FAQ: http://dojotoolkit.org/support/faq
> > Book: http://dojotoolkit.org/docs/book
> > Forums: http://dojotoolkit.org/forum
> > Dojo-interest at mail.dojotoolkit.org
> > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
> >
> >
> > _______________________________________________
> > FAQ: http://dojotoolkit.org/support/faq
> > Book: http://dojotoolkit.org/docs/book
> > Forums: http://dojotoolkit.org/forum
> > Dojo-interest at mail.dojotoolkit.org
> > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
--
Vlad P
author of C++ ORM http://github.com/vladp/CppOrm/tree/master
--
http://www.fastmail.fm - IMAP accessible web-mail
More information about the Dojo-interest
mailing list