Cannot read property 'fitToContent' of undefined

Bauer

Well-Known Member
This error comes up in the javascript console after the CSV export popup window is closed (after download) and the page is scrolled.

window.js?bust=1469212978:33 Uncaught TypeError: Cannot read property 'fitToContent' of undefined
 
Can't replicate that. Tried with options & autostart.

You sure you are running a bog standard JS file?

EDIT - ah, it's not a scroll that does it, it's a resize, cos of ...

Code:
                    jQuery(window).on('resize', function () {
                        Fabrik.Windows[opts.id].fitToContent(false);
                    });

At line 33, windows.js.

I'll fix that.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top