NetTalk Central

Author Topic: Child popup Accounts (31) example  (Read 6184 times)

agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
Child popup Accounts (31) example
« on: November 27, 2018, 09:17:05 AM »
Hi, when inserting a new record in the LineItems table, I lose the focus of the Invoice table, it is necessary to refresh to select a record from the invoice table again.

attach jquery.nt-browse.js that works well from previous versions

thanks!!!

Agust?n


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Child popup Accounts (31) example
« Reply #1 on: November 27, 2018, 10:47:41 PM »
Hi Augustin,

I'm sorry, but the attached js file doesn't really help me understand the problem - or best plan a solution.
Can you maybe post an example of the effect you are seeing so I can duplicate it here? Then I can best determine the correct fix.

cheers
Bruce


agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #2 on: November 28, 2018, 03:36:29 AM »
Attached image, I hope you understand.

one image says more than 1000 words...  :)

Thanks!
« Last Edit: November 28, 2018, 03:38:36 AM by agustinh2000 »

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #3 on: December 07, 2018, 01:20:39 AM »
This is a very big issue for me to.

Regards Niels

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #4 on: December 07, 2018, 02:39:31 AM »
What I see in the 2nd picture is standard behavior.

The Invoice and Line Item browses are displayed together in some type of element.  A page or form.  You open the popup jQuery dialog to update the Line Item table.  The parent page now loses focus as the form gains focus. 

After this point in the chain of events, what do you need it to do?

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #5 on: December 07, 2018, 05:14:08 AM »
Hi Don

My problem is that after returning from the child popup, the parrent can't gain focus.

Regards Niels

agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #6 on: December 07, 2018, 05:35:04 AM »
for its correct operation I am using the .js of the NT version .32 in the following versions

attached file to paste in the scripts folder

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup Accounts (31) example
« Reply #7 on: December 19, 2018, 01:49:03 AM »
Up