Hi

I found that this module interferes with javascript of user name autocomplete (drupal default)

If you, on some page withautocomplete field, typing something to this field, the list of optionaly values is shown under this field.
and if you pressing arrow down to choose something from this list and press enter (for selecting this value into autocomplete field) - then hide_submit will start and hide the submit button.

You can see it here:
http://test7.somvprahe.sk/
just start typing some name (e.g. igor) and then choose something from list by arrow down + enter.
This bug is in firefox and IE 7 too

have a nice day
Igorik
http://www.somvprahe.sk

Comments

igorik’s picture

I am sorry, the right url is: http://test7.somvprahe.sk/hladaj/slovaci-v-prahe/podla-mena

autocomplete field is on top left.

optalgin’s picture

Ok, I see the conflict

As this is a submit button, currently there is nothing I can do
but as soon as I add an option to manipulate the selectors
It will be possible to disable this specific button

See #397810: Exclude / load javascript only on specific forms

optalgin’s picture

Status: Active » Closed (works as designed)

You can try the latest 6.x-1.x-dev release

There is a new fieldset called "Advanced"
add the following line into "Form-id exclusion list" textarea

views_exposed_form_vyhladavanie_medzi_clenmi_page_2

Please let me know if it worked as expected

optalgin’s picture

Status: Active » Closed (works as designed)

A temporary hack, see #432988: Conflicts with shoutbox module

Replace the code in hide-submit.module file

$(document).ready(function() {
  $('input:submit[value!=Použi]').click(function() {
      $(this).siblings('input:submit[value!=Použi]').hide();           
      $(this).hide();     
      $('$message').insertAfter(this);
  }) 
})
optalgin’s picture

Status: Closed (works as designed) » Active
optalgin’s picture

Status: Closed (works as designed) » Needs review

You can try the latest 6.x-1.x-dev release

There is a new fieldset called "Advanced"
add the following line into "Form-id exclusion list" textarea

views_exposed_form_vyhladavanie_medzi_clenmi_page_2

Please let me know if it worked as expected

igorik’s picture

Hi

The idea of form id's is great, but Form-id exclusion list doens't work for me. :(
I need to set the url path into "eceppted urls" in hide_submin admin settings, and then it works.

Tha same problem I have with privatemessage module,
on page http://www.somvprahe.sk/messages/new
where is user autocomplete for recipient name, hide_submit hide do the same problem as i wrote above in this bug.

setting id of the form (what is privatemsg-new) into Form-id exclusion list, doesn't work.
I tried clear cache and it doesn't help/
Currently I need set url path for new private message into forbidden paths in hide_submit admin settings.

Thanks

optalgin’s picture

I am not sure why form-id doesn't work for you,
make sure you are using _ and not - in the form-id
"privatemsg_new" and not "privatemsg-new"

optalgin’s picture

Version: 6.x-1.x-dev » 6.x-1.7
Assigned: Unassigned » optalgin
Status: Needs review » Fixed

Release 6.x-1.8 contains configuration options to overcome this conflict
You can exclude the form by form-id.

See Advanced fieldset

Status: Fixed » Closed (fixed)

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