Thread:Extension talk:WYSIWYG/Disable search for images in link dialog

Personaly, I don't use [[Media: ]], and I don't want images to appear in the search list of link dialog.

But when I remove NS_IMAGE in CKeditorSajax.body.php (see here) there's a strange interference with #REDIRECT function : if the #REDIRECT checkbox is checked, then "Ok button" of link dialog doesn't work. Any idea of what could be the cause ?