ProcessWire icon indicating copy to clipboard operation
ProcessWire copied to clipboard

Javascript error with ProcessPageSearch

Open Toutouwai opened this issue 8 years ago • 2 comments

When the admin search is listing results, using the arrow keys to move the focus up and down the results list causes a Javascript error relating to file JqueryUI.js. Pressing enter on any of the results also causes an error.

Firefox console reports: TypeError: s is undefined

Chrome console reports: Uncaught TypeError: Cannot read property 'value' of undefined

Possibly the cause of focused links not being navigable with the Enter key? https://processwire.com/talk/topic/13211-using-processpagesearch-with-keyboard/

Toutouwai avatar May 06 '16 12:05 Toutouwai

Thanks @Toutouwai I've been looking at this one for a good 30 minutes, but can't seem to figure it out. Following the stack of error messages, they never even get into PW's JS files, making me think it might be some kind of bug in jQuery UI. I'll keep an eye out.

ryancramerdesign avatar Jun 03 '16 14:06 ryancramerdesign

This issue can be closed. It is fixed in core now. https://github.com/processwire/processwire/commit/928a399b8ae9e8629461b98c5579f4b99889197f

gmclelland avatar Jan 05 '17 20:01 gmclelland