Hi, do you have this bug ?
Is manifested in the versions launched on 28.06.2020 and 29.06.2020.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Bug on browseform + search
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Bug on browseform + search
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
Re: Bug on browseform + search
gerese,
Can you give more info?
eg. Does it just happen on only 1 Form.
Steven
Can you give more info?
eg. Does it just happen on only 1 Form.
Steven
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Bug on browseform + search
admin wrote:gerese,
Can you give more info?
eg. Does it just happen on only 1 Form.
Steven
Hi Steven,
It manifests in all forms, not just in 1 form.
I also tried the versions released on 2020-06-09, 2020-05-19, 2020.04.19 and nubuilder4 do not have this problem.
nuBuilderForte .... BIG Like !!!
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Bug on browseform + search
I am able to replicate the issue as follows:
1. Browse Screen: Search for any text
2. In the search results, click on a string that is red
3. Edit Screen opens with a "null" record.
I came across a code that I honestly do not understand. An onclick event is added to the highlighted text: this.offsetParent.onclick()
If I remove that, everything works as expected, in any situation.
Fix:
Replace
(nuform.js#L2896)
With:
1. Browse Screen: Search for any text
2. In the search results, click on a string that is red
3. Edit Screen opens with a "null" record.
I came across a code that I honestly do not understand. An onclick event is added to the highlighted text: this.offsetParent.onclick()
If I remove that, everything works as expected, in any situation.
Fix:
Replace
Code: Select all
h = h.replaceAll('`````', '<span class="nuBrowseSearch" onclick="this.offsetParent.onclick()">', true);
With:
Code: Select all
h = h.replaceAll('`````', '<span class="nuBrowseSearch" >', true);
You do not have the required permissions to view the files attached to this post.