Page 1 of 1
Edit record flaw
Posted: Sun Jan 14, 2018 11:41 am
by toms
Hi,
Sometimes, when clicking a record in the Browse Form, it jumps back to nuhome instead of opening the Edit Form.
I've seen this over and over again. But it doesn't always happen, only occasionally.
As a result, the breadcrumbs are messed up.
You'll see it in this recording (the glitch occurs after 5 seconds for the first time)
http://vimeo.com/251023960
Re: Edit record flaw
Posted: Sun Jan 14, 2018 5:57 pm
by admin
toms,
I've seen it too but I haven't got any answers yet.
I'll have a close look at your video but let us know if you get any other clues - anyone.
Steven
Re: Edit record flaw
Posted: Mon Jan 15, 2018 1:03 pm
by toms
I debugged a bit and found out that whenever the var r is
undefined, the glitch happens.
Code: Select all
var r = window.nuFORM.getProperty('redirect_form_id');
The question is therefore why the variable is sometimes undefined.
Re: Edit record flaw
Posted: Mon Jan 15, 2018 4:21 pm
by admin
toms,
Great find!
All I needed to do was add redirect_form_id as a default breadcrumb property.
Easy to fix but hard to find.
(Its now on Github)
Steven
Re: Edit record flaw
Posted: Tue Jan 16, 2018 12:20 am
by toms
The jumping back seems to be fixed now. However, there is still a little flaw. Sometimes, an empty breadcrumb is added as shown in the picture.
Re: Edit record flaw
Posted: Tue Jan 16, 2018 1:26 am
by admin
toms,
Let me know if you can repeat it.
Steven
Re: Edit record flaw
Posted: Tue Jan 16, 2018 1:29 am
by toms
I found out that this happens when you double-click on an item in the Browse form.
Some people double-click out of habit..
Re: Edit record flaw
Posted: Tue Jan 16, 2018 2:08 pm
by admin
toms,
I think its fixed now and on Github.
Steven
Re: Edit record flaw
Posted: Tue Jan 16, 2018 2:16 pm
by toms
Thanks - it looks all good to me now

Re: Edit record flaw
Posted: Tue Jan 16, 2018 8:34 pm
by admin
.