title: Contact Form 7 redirect with on_sent_ok doesn't work?
body: <p>I tried using the <code>on_sent_ok</code> to redirect after form submit for Contact Form 7 (Wordpress plugin), but it doesn't work for some reason: </p>
  
  <pre><code>on_sent_ok: "location.replace('http://www.company.com/thank-you/');"
  </code></pre>
  
  <p>Why wouldn't this work? </p>
  
  <p>I am using CF7 versions 2.2.1 and Wordpress 3.5.0. </p>