Event handlers added to the form containing the autocomplete widget do not get called by
jQuery(this).get(0).form.submit();

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

theapi’s picture

Status: Active » Needs review
FileSize
570 bytes

Here's a patch to use jQuery(this).closest("form").submit(); instead, which calls the submit handlers.

  • theapi authored a270fd7 on 7.x-1.x
    Issue #2238565 by theapi: Widget form submit bypasses submit handlers
    
janusman’s picture

Status: Needs review » Fixed

Fixed! Thanks!

Status: Fixed » Closed (fixed)

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