Closed (duplicate)
Project:
AJAX Poll
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2016 at 13:21 UTC
Updated:
8 Oct 2018 at 03:21 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
michaellenahan commentedHere's the patch.
Comment #3
michaellenahan commentedComment #4
sgdev commentedThe approach in patch #2 will not work for all sites. It seems like you have something customized in your CSS to generate a class of
.messages--error. There is nothing like that in standard Drupal. Also the jQuerysiblingsoption is not going to work in standard implementations without other adjustments.The right way to handle this is a basic clearing of
.messagesclass items inbeforeSubmit. However, it is *required* to also implement thepollWrapperpatch for it to work accurately (which needs to be committed anyway): https://www.drupal.org/project/ajax_poll/issues/1240768See the attached patch for an update, and reference this patch to make it work correctly:
https://www.drupal.org/project/ajax_poll/issues/1240768#comment-6193570
Comment #5
sgdev commentedAfter reviewing this issue (https://www.drupal.org/project/ajax_poll/issues/1417230), I thought it was best to just close this task.
The item in question is handled by the patch in #7, which is needed anyway.