Steps to duplicate:

  1. Set up a view as a block, let's say it's a list of movies
  2. Add an exposed filter for the movies' titles
  3. Enable AJAX and Auto Submit for the Exposed filter form. Save and view the block.

Desired operation: when you type a movie's name and press 'enter' before the autosubmit takes place, the Views block should refresh via AJAX and fetch all movies of that title

Actual operation: when you type a movies's name and press 'enter' before the autosubmit takes place, the entire page refreshes with a contextual argument in the URL, as if the [enter] key was not captured

The problem happens on the Safari 6 browser, possibly because (I'm just making conjecture here) Safari handles the 'submit' action for key 13 [enter] differently than other browsers, and maybe the keyup/keydown jQuery functions aren't handling this in an expected way.

The problem may be coming from ctools/js/auto-submit.js, since the problem goes away if autosubmit is disabled.

Files: 
CommentFileSizeAuthor
#1 ctools-disable_enter_submit-2014953-2.patch622 bytesmicromegas
PASSED: [[SimpleTest]]: [MySQL] 121 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new622 bytes
PASSED: [[SimpleTest]]: [MySQL] 121 pass(es).
[ View ]

For the time being, I simply disabled the enter key via JS.

Status:Needs review» Active

Set back to active so as not to trigger the tests, since this is just a bandaid.

Check this issue out. Fixes the problem.

https://drupal.org/comment/8262487#comment-8262487

Thank you; I applied the patch in that thread, and all is well!

Issue summary:View changes
Status:Active» Fixed

Fixed by patch in another issue.

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

I'm having the same issue and the patch in #3 did not work for me.

Further more, I have Auto Submit turned on using the BEF module and the issue is also occurring as users enter text into the field and the ajax submission is fired. Strangely, it works as it should in Firefox 26 - but in all other browsers I see the redirect to home with query string in the URL.

Status:Closed (fixed)» Active