small medium large xlarge

29 Jan 2011, 00:41
Mark Nadig (1 post)

According to the pp 91, part of the RoR magic is adding :confirm=>’Are you sure?’ this will prompt for confirmation. In my test w/ Ruby 1.9.2 w/ rails 3, it indeed prompts. However, regardless if I select Ok or Cancel, the product is deleted. This is on a Windows 7 64bit box running IE 8. I tested it on Chrome and it worked as expected. I imagine it’s a bug in the jscript specific for IE (or just IE), but I’m not even sure where to start tracing.

You must be logged in to comment