setTinyMceInit() is not defined in qtranslate-x

Earlier today my headache started when i got this error in wordpress admin panel.

after googling i couldn’t found any best help so i am posting the indian jugaar which i did.

I make a function in wp-admin/wp-header.php and it’s working fine.

echo'<script type=”text/javascript”>function setTinyMceInit(){ alert(“hello”);}</script>’;