From 50639d221ecb4513d704a94f0f138ac402c8df53 Mon Sep 17 00:00:00 2001 From: ChristianMayer Date: Sun, 3 Mar 2019 17:22:53 +0100 Subject: [PATCH] When scrolling during rotation of the iPad `recordScroll` was throwing as `page` was not the page element but instead Window. => Make maximum robust --- source/class/cv/report/Record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/class/cv/report/Record.js b/source/class/cv/report/Record.js index fed1400a77d..1fcddbbc5aa 100644 --- a/source/class/cv/report/Record.js +++ b/source/class/cv/report/Record.js @@ -312,7 +312,7 @@ qx.Class.define('cv.report.Record', { recordScroll: function(ev) { var page = ev.getTarget(); - var path = qx.bom.element.Attribute.get(page, "id"); + var path = (undefined !== page && 'getAttribute' in page) ? qx.bom.element.Attribute.get(page, "id") : undefined; var data = { type: ev.getType(), page: path,