improved test for removing wysiwyg editor component from textareas that are hidden by other JS code, the previous solution had problems when editing an older entry; re #4572

git-svn-id: svn://develop.studip.de/studip/trunk@32061 c5b85792-5220-0410-ad23-ed5b6b8ad999