I'm getting the same bug that is reported here with Genesis theme #450086: Content Creation Tags Field Autocomplete Causes Save Button to Fail

Could you provide a workaround?

CommentFileSizeAuthor
#4 blueprint-579070.patch1.45 KBpp
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

designerbrent’s picture

Status: Active » Needs work

The only way that I can get this to have a problem is to actually hit enter to select the term in the autocomplete, and that triggers the form to submit. Why it will not actually submit is beyond me. (Javascript is not my strong suit.)

@m3avrck: can you take a look at this?

don@robertson.net.nz’s picture

I am getting this a lot as well. I have tried hitting enter in the Garland Theme, and it does not cause a problem. I am pretty sure I got the same problem clicking the taxonomy term in the auto-complete drop down menu - but at the moment it seems to be working :-(

I am running a Drupal on a local machine - and I have been using Linux FF 3.5

Commenting out the following in the themes/blueprint/general.js file seems to fix the problem.

// Global Killswitch.
/*
if (Drupal.jsEnabled) {
  $(document).ready(Blueprint.formCheck);
}
*/
designerbrent’s picture

Version: 6.x-1.2 » 6.x-2.x-dev
Status: Needs work » Postponed

I've now fixed this in the 2.x version of the theme.

However, I'd love to get a patch to actually fix this in the javascript.

Edit: Anyone is welcome to reopen this if they have a patch to submit.

pp’s picture

Status: Postponed » Needs review
FileSize
1.45 KB

Here is the patch, please review.

designerbrent’s picture

Status: Needs review » Fixed

Wow, thanks PP. I'm not a Javascript guy so this was a huge help! I also changed the string in the settings page that used to refer to this page about "Prevent Duplicate Submits". The description is just shortened. This is committed in the dev version and I'll try and roll a new alpha soon.

Status: Fixed » Closed (fixed)

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