widgetfactory / jce

JCE - A Content Editor for Joomla
https://www.joomlacontenteditor.net
GNU General Public License v2.0
35 stars 12 forks source link

JCE file browser "search" function not working after upgrade from 2.6.15 to 2.6.33 in IE-edge #36

Open keith-phua opened 5 years ago

keith-phua commented 5 years ago

After upgrading from 2.6.15 to 2.6.33, JCE file browser "search " function stop working in IE-edge.

IE-edge browser reported error in "filebrowser.min.js" with "syntax error in regular expression" on line 538: matcher = new RegExp(escapeRegExChars(s), "ui"

No problem with Firefox and Chrome. Seems to only effect Internet Explorer.

ryandemmer commented 5 years ago

I am not able to reproduce this on the demo site - https://demo.joomlacontenteditor.net/ - in IE/Edge.

What characters are you entering into the search field?

keith-phua commented 5 years ago

Sorry, i could have been more specific. The error occurs under "Image Manager" when trying to insert/edit image. When you click on the "search" button and key in any characters to search an image, it does not scroll the the searched list section. The demo site image list is too short to do any search to exhibit the symptoms.

If you enable script debugging (by unchecking "disable script debuging"). When you insert more than one character in the search field, the IE webpage error will pop out and report the error. This occurs also when i tried your demo site.

Hope it helps.