U4-4325 - JS errors back office load - Cannot read property 'offsetTop' of undefined

Created by Shannon Deminick 04 Mar 2014, 02:42:35 Updated by Per Ploug 06 Mar 2014, 11:54:28

When the back office first loads I get loads of JS errors:

TypeError: Cannot read property 'offsetTop' of undefined at Object. (http://localhost:7100/umbraco/js/umbraco.directives.js:560:23) at Object.$get.e.$digest (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:90:233) at Object.$get.e.$apply (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:92:431) at http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:108:357 at e (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:31:267) at http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:34:398

Happens on this line:

var bottom = bar.offsetTop + bar.offsetHeight;

in the umbPanel directive


Priority: Normal

Type: Bug

State: Fixed

Assignee: Per Ploug

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.0

Due in version: 7.1.0


Story Points: