Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Got a report from killes that his fieldsets weren't working at all, had him check the log and found: Fehler: TypeError: window.localStorage is null
. This is causing the JS engine to crash.
Further discussion turned out that he is using FF 24 on Debian testing. I found the following link which is how we actually should be checking for support for localStorage (because apparently FF handles it differently): http://stackoverflow.com/questions/4706347/javascript-comparing-2-checks...
'localStorage' in window && typeof window.localStorage !== 'undefined' && window['localStorage'] !== null;
Comment | File | Size | Author |
---|---|---|---|
#2 | local_storage_detection-project_issue-2195621-2.patch | 1002 bytes | markhalliwell |
Comments
Comment #1
markhalliwellComment #2
markhalliwellKinda a major bug since not supported in older FF versions or manually disabling it in FF will crash all the site's JS.
Comment #3
drummCommitted & deploying.