Page 1 of 1
Odd behaviour on browse form when selecting record
Posted: Wed Mar 08, 2023 10:07 am
by Keith-i
I have a browse and edit form whereby I can click on a road name and it will show me all the house sales on that road. However if I do a filter to reduce the list and then click on the actutal text of an entry the resulting form opens with no entires. If I click on a blank bit of the row just to the right of the text then it works correctly and shows the related data. Any thoughts? Could it be anything to do with Access Control where I have selected Browse only and No Edits?
Re: Odd behaviour on browse form when selecting record
Posted: Wed Mar 08, 2023 10:11 am
by kev1n
Are you using any scripts, custom formatting etc?
Re: Odd behaviour on browse form when selecting record
Posted: Wed Mar 08, 2023 10:38 am
by kev1n
Based on my understanding, it seems that the issue at hand is that clicking on the highlighted (red) text isn't triggering an onclick event
Try
this fix:
Basically, add this line
Code: Select all
spannode.setAttribute("onclick", "nuSelectBrowse(event, this.parentElement)");
after
Code: Select all
middlebit.parentNode.replaceChild(spannode, middlebit);
in nucommon.js and log in again.
Re: Odd behaviour on browse form when selecting record
Posted: Wed Mar 08, 2023 2:53 pm
by Keith-i
Ok thanks. Presumably nucommon.js sits somewhere in the background on my server. Will need to hunt it down

Re: Odd behaviour on browse form when selecting record
Posted: Wed Mar 08, 2023 2:54 pm
by kev1n
it's in the /core folder