After updating field_group to the latest DEV version, we stumpled upon an older bug, that should have been fixed in the https://www.drupal.org/node/2743127 issue.
But in firefox/ IE we still have the problem of missing labels.
In the latest DEV element.horizontal_tabs we set a weight for loading horizontal-tabs.js - this is a problem for firefox / IE browser. After removing this weight the js is loaded in the correct order.
I tested the behaviour in the following browsers:
- IE 10/11
- Firefox 46
- Chrome 53.0.2785
- Safari Version 10.0 (12602.1.50.0.10)
I'll attach a patch fixing this issue.
Comments
Comment #2
steffenrAttached you find a patch fixing the issue.
Please review.
Comment #3
steffenrComment #4
steffenrComment #5
steffenrComment #6
nils.destoop commentedApparently my version of firefox has now Modernizr.details support since latest version. That's why i didn't notice it was broken again.
Can you test with patch in attachment? Your patch reverts a fix that was needed for 'required fields's support.
Comment #7
webcultist commentedThe patches don't work for me. Nether the first nor the second. I see the labels in firefox but in IE 9 - Edge they are invisible.
Comment #9
nils.destoop commentedI committed the patch, as it fixes firefox. Extra investigation will need to be done for Edge. I'll need a virtal box for this.
Comment #10
webcultist commentedWould be great there is a solution for IE.
If you are really interested in the in a Vbox, you can get it here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Comment #11
n3or commentedI fixed the issue in IE11 (Windows 7) and IEEdge (Windows 10) by changing the summary source selection from feature detection to element detection.
In my tests the Modernizr.details was false, but the HTML was interpreted correctly.
Please check the attached patch.
Comment #12
duaelfrThe patch in #11 looks good to me.
@zuuperman Instead of relying on a css class that could be removed in the future, I suggest to rely on jQuery.once's findOnce() function that seems more durable.
The code should be:
Comment #13
webcultist commented#11 works here...
Comment #15
nils.destoop commentedThx for the patch and testing it in IE. I committed it to dev
Comment #16
webcultist commentedThx @ n3or & zuuperman