Re: Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Mathias Nilsson

I ran this in IE7, Firefox and Google Chrome and it worked fine. make sure
you don't have a javascript error in the page and maybe add 

delete.add(new SimpleAttributeModifier(  onclick, if (!confirm('Delete?')
){ return false; })); 


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Confirmation-Dialog-Not-Displayed-For-Button-tp2955022p2955033.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Shelli Orton
I am using FF 3.6.10 and there were no javascript errors.  However,
adding the if statement seemed to make the difference as it's now
displaying.

Thanks!

-Original Message-
From: Mathias Nilsson [mailto:wicket.program...@gmail.com] 
Sent: Monday, October 04, 2010 2:51 PM
To: users@wicket.apache.org
Subject: Re: Confirmation Dialog Not Displayed For Button


I ran this in IE7, Firefox and Google Chrome and it worked fine. make
sure
you don't have a javascript error in the page and maybe add 

delete.add(new SimpleAttributeModifier(  onclick, if
(!confirm('Delete?')
){ return false; })); 


-- 
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Confirmation-Dialog-Not-Displ
ayed-For-Button-tp2955022p2955033.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org