2

Resolved

V1.5.1 Nav add (content picker module) contentitem link sometimes still JS exception

description

I still retrieve sometimes in V1.5.1 a javascript error when I try to add a contentitem through the content picker module. See screenshot as attachment

file attachments

comments

Znowman wrote Jul 30, 2012 at 2:37 PM

Maybe it only happens sometimes when you page (pagination) and then add a item?

Znowman wrote Aug 6, 2012 at 9:21 AM

It always happens when I go the search tab and select a contentitem in the found contentitems.

AimOrchard wrote Aug 24, 2012 at 8:15 AM

To fix this:

Open Orchard.ContentPicker\Views\ContentPicker.cshtml go to the javascript function 'query(name, querystring)

Notice how it returns a 'null' at the end, change that null to []

so "return null;" becomes "return [];" and tada => resolved (for me at least)

Feel free to add it to the core ;)

sebastienros wrote Sep 20, 2012 at 12:02 AM

Fixed in changeset e12ecca0a641