Added missing var that messes up IE8
Merge pull request #8115 from owncloud/stable5-fixselectallanddownload

[stable5] Added missing var that messes up IE8