This project is archived and is in readonly mode.

#2202 ✓invalid
Rusty Burchfield

IE7 does not respect "return false;" in onclick

Reported by Rusty Burchfield | March 10th, 2009 @ 07:39 PM | in 2.x


when confirm && popup
  "if (#{confirm_javascript_function(confirm)}) { #{popup_javascript_function(popup)} };return false;"
when confirm && method
  "if (#{confirm_javascript_function(confirm)}) { #{method_javascript_function(method)} };return false;"
when confirm
  "return #{confirm_javascript_function(confirm)};"
when method
  "#{method_javascript_function(method, url, href)}return false;"
when popup
  "#{popup_javascript_function(popup)}return false;"

IE7 requires the following.

event.returnValue = false;


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>