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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adolfo.mansilla’s picture

Issue summary: View changes
adolfo.mansilla’s picture

adolfo.mansilla’s picture

Status: Active » Needs review
T2k’s picture

Status: Needs review » Reviewed & tested by the community

Tested with Rubik 7.x-4.0 and Entity inline form 7.x-1.5 !

  • Commit 1f39014 on 7.x-4.x authored by adolfo.mansilla:
    Issue #2229279 by adolfo.mansilla: RubikColumn.offset(...) is null in...
haydeniv’s picture

Status: Reviewed & tested by the community » Fixed

Committed to dev.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

opi’s picture

Code 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)