[jifty-devel] Cancel in onclick not working in IE

Henry Baragar Henry.Baragar at instantiated.ca
Thu Aug 16 11:37:41 EDT 2007


Hello all,

Has anyone else observed a problem with IE where the Cancel button on a 
confirmation box acts as a "OK" button and causes the action to be executed?

I have in my code:

Jifty->web->link(
          label => "Delete",
          url   => "/delete/customer_user/$seq",
          onclick       => {confirm => "Delete $name?"},
        )

This code works as expected in Firefox and Opera.  But in IE, the action is 
executed (ie. the user is deleted) regards of what the user does.

Does anybody know why this is happening in IE?  Does anyone know of a fix or a 
work around?

Regards,
Henry 


More information about the jifty-devel mailing list