update default_j25.php: js error

Installation got stuck at first step due to this small js error. Removed the lines which are also missing in the default.php file.
The problem is that closeBtn is undefined:
'TypeError: window.parent.SqueezeBox.closeBtn is undefined'

The button is disabled at that stage in the installation and does not need to be hidden.
It gets enabled again on succes (row 165)

actually only row 144: window.parent.SqueezeBox.closeBtn.setStyle('display','none'); needs to be removed, and not the other line preventing scrolling


Op 11 jul. 2014, om 08:20 heeft Matias Griese <notifications@github.com> het volgende geschreven:

> In components/com_kunena/admin/install/tmpl/default_j25.php:
> 
> > @@ -140,10 +140,6 @@
> >  		noCache: true,
> >  		secure: false,
> >  		onRequest: function() {
> > -			if (window.parent.SqueezeBox) {
> > -				window.parent.SqueezeBox.closeBtn.setStyle('display','none');
> > -				window.parent.SqueezeBox.asset.set('scrolling', 'no');
> > -			}
> These lines are meant to prevent user breaking the installation by closing the popup.
> 
> What is the error they are causing?
> 
> —
> Reply to this email directly or view it on GitHub.
>