Closed (fixed)
Project:
Field Group
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Jan 2016 at 16:41 UTC
Updated:
22 Jun 2016 at 15:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ozinThis patch should be applied after #2643360: Incorrect DrupalSettings are passed to the js..
Comment #3
pixelmord commentedHi, I tried the patch #1 and ran in an issue that with more than one vertical tab one of the
$(this).data('verticalTab').linkin the collection was not defined (yet) and so execution was aborted due to the error thrown.Also I think that looking for '.form-required' class as a test for required fields is not safe due to the fact that one could possible change those classes in the templates. So I think that searching for the required attribute on the input is safer.
Lastly I had to change the patch code for Tabs.php to be applicable for current HEAD.
Please review.
BTW. I think something similar should happen for the horizontal tab panes, I will try to search if an issue for this already exists.
Comment #5
nils.destoop commentedSame like in #2643382: Implementation of Drupal.FieldGroup.processHook() does not work for the horizontal tabs. :)
Comment #9
aspilicious commented