fix keyboard shortcuts and help not working on workpackage list

[``* `#8747` Keyboard shortcuts and help not working on workpackage list``](http://www.openproject.org/work_packages/8747)
@ulferts, it remained after I tinkered with that part of the code, didn't want to do an amend since the travis stuff was going on at the moment. should I fix it now?