Add event parameter to keyup event

Fix issue #7277
Merge pull request #7278 from owncloud/issue/7277

Add event parameter to keyup event