This topic is locked
[SOLVED]

inline add not working for detail table

8/21/2022 3:32:04 PM
PHPRunner General questions
P
ppradhan@live.com author

I'm with phprunner v_10.8 (build: 39712). I encounter issue with inline_add at the detail table. Clicking at inline add in the detail/child table will take me to the add page and does not open inline add in the same page. Is it just me or others too having same issue? please assist if I missed anything to enable inline add for child/detail table from the master table.

with regards

C
Corrie 8/22/2022

I have the exact same version and it is working perfectly fine for me.
https://phprconsultant.co.za/tutorials/jc/jobcard_master_list.php

P
ppradhan@live.com author 8/22/2022

Thank you Corrie,
I upgraded project from v_10.7 to 10.8 and after the upgrade the inline_add functionality is gone. But the existing 10.7 project still works good with inline_add. Is there anything that I can try to achieve this functionality for the upgraded version?
with regards.

Alexey admin 8/24/2022

Check for JS errors in the Developers Tools Console.
If you have an error in your event code, the page will act as you explained.

P
ppradhan@live.com author 8/24/2022

Hi Alexey, thank you so much for the tips. I see following error in the console while explanding the child/detail table. Will you please help me identify and fix this issue?

custom_functions.js?3522_1661087084:67 Uncaught TypeError: Cannot read properties of undefined (reading 'parents')
at Runner.pages.RunnerPage.init (custom_functions.js?3522_1661087084:67:45)
at constructor.init (RunnerAll.js?39712:1708:624)
at constructor.init (RunnerAll.js?39712:1730:1217)
at constructor.init (RunnerAll.js?39712:1801:1541)
at constructor.init (RunnerAll.js?39712:1900:136)
at constructor.goInitQueue (RunnerAll.js?39712:1374:305)
at constructor.<anonymous> (RunnerAll.js?39712:1374:102)
at constructor.<anonymous> (RunnerAll.js?39712:18:277)
at Runner.util.Event.fire (RunnerAll.js?39712:21:196)
at constructor.fireEvent (RunnerAll.js?39712:26:512)

Alexey admin 8/24/2022

You can find the code that gives you this error on the Events screen -> custom_functions.js

If you our help with it, contact support directly at https://support.xlinesoft.com or email to support@xlinesoft.com

P
ppradhan@live.com author 8/25/2022

@Alexey8, many thanks. You were correct, I edited the custom custom_functions.js file and things look good now. Appreciate your tips to have this issue resolved.