title: Error in Exposed Filter with AJAX in Drupal View
body: <p>I'm receiving an error when i try to filter a Drupal view using a regular exposed filter with AJAX(autosubmit).</p>
  
  <pre><code>An error occured while attempting to process /views/ajax: 
  Object [object Window] has no method 'indexOf'
  </code></pre>
  
  <p>This is what i've done:</p>
  
  <ul>
  <li>Clear all the cache, run cron and update.php</li>
  <li>Views, ctools and drupal core were out-of-date, so i update them and run update.php</li>
  <li>Check that the view had Ajax enabled.</li>
  <li>Test if using Better Exposed Filters worked, din't work.</li>
  <li>Install JQuery Update module and enable it, din't work either.</li>
  <li>Create another exposed filters(by date, type, title) same error.</li>
  </ul>
  
  <p><strong>Something important to mention is that the filters works in the View Preview.</strong></p>
  
  <p>The view is very simple, the only thing it does is show a list of events (event content type) and i want to filter the content by the restaurant (wich is a select list of the content type) and that error is been shown.</p>
  
  <p>This is the spects:</p>
  
  <ul>
  <li>Drupal Core: 7.19 </li>
  <li>Views Module: 7.x-3.5</li>
  <li>PHP Version: 5.3.18</li>
  <li>Apache2.2.22</li>
  <li>MySQL 5.1.66</li>
  <li>Using Acquia Dev Desktop stack on Windows.</li>
  </ul>
  
  <p>Thanks in advance</p>
  
  <p>This is the result code when i export the view: </p>
  
  <p><a href="https://www.dropbox.com/s/f6sexqb896vm87p/Exported_View.php" rel="nofollow">File Code, Click Here</a></p>