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.
I did an upgrade from version 7.4 of rubik and started to throw the following error
TypeError: rubikColumn.offset(...) is null
var rubikStickySidebar = rubikColumn.offset().top;
this happens when click on generate a new item of type inline entity reference.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2229279_just_pass_context_to_selector.patch | 1.5 KB | opi |
#2 | rubik-rubikcolumn-offset-null-2229279-1.patch | 1.42 KB | adolfo.mansilla |
Comments
Comment #1
adolfo.mansilla CreditAttribution: adolfo.mansilla commentedComment #2
adolfo.mansilla CreditAttribution: adolfo.mansilla commentedComment #3
adolfo.mansilla CreditAttribution: adolfo.mansilla commentedComment #4
T2k CreditAttribution: T2k commentedTested with Rubik 7.x-4.0 and Entity inline form 7.x-1.5 !
Comment #6
haydeniv CreditAttribution: haydeniv commentedCommitted to dev.
Thanks!
Comment #8
opiCode might be cleaner by just passing context to first selector.
Attached patch rollback patch from #2 and add context to the first selector (used to test .length)