Page 1 of 1

Add new record modal box problem

Posted: 2018-05-22 09:00
by George Pattihis
Hello,

I have a problem when clicking the "+" on the main table, when on index page to add a new record. The modal box that appears is unusable. Please see screenshots:

The button:
https://prnt.sc/jl189e

The modal box that appears:
http://prntscr.com/jl19ep

Please notice that the link of the button is
mydomain.com/members/members_view.php?addNew_x=1

Any ideas please?

Re: Add new record modal box problem

Posted: 2018-05-22 10:49
by pbottcher
Hi,

can you call this url directly and see what you get as a result? Can you run the browser debug to see if you get an error?

regards

Re: Add new record modal box problem

Posted: 2018-06-04 08:25
by George Pattihis
Hello,

If I call the url directly it opens the regular "add new record" page, no problem there.

When I click the button and the modal box partly appears these warnings are shown in the browser console:

- An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. (index.php)
- Use of Mutation Events is deprecated. Use MutationObserver instead. (jquery-1.12.4.min.js:3:9644)
- This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; (members_view.php)

Re: Add new record modal box problem

Posted: 2018-06-04 09:56
by pbottcher
Hi,

can you pls call the URL

mydomain.com/members/members_view.php?addNew_x=1&Embedded=1

and share the result.

Did you modify any template files?

Re: Add new record modal box problem

Posted: 2018-06-07 11:09
by George Pattihis
Hello,

Thank you for your time. It opens the page to add a new member. Please see screenshot: http://prntscr.com/js0tp6

I used to have this project with an earlier version of Appgini. I think the problem started when I updated to the latest version, made some minor changes to the tables and reuploaded files. Then I noticed that the modal box does not work. No, there are no modifications to template files except for a few hooks to calculate members' payments and fees.

Re: Add new record modal box problem

Posted: 2018-06-07 13:16
by pbottcher
ok, do you get any messages on the console?

Re: Add new record modal box problem

Posted: 2018-06-07 13:53
by George Pattihis
No, nothing important. only the warning " Mutation Events is deprecated"

http://prntscr.com/js3c20

Is it maybe something to do with the "scroll-linked positioning effect" mentioned above, when the modal tries to open?

Re: Add new record modal box problem

Posted: 2018-06-07 16:38
by pbottcher
Hi,
can you look into the console and display the information for the modal after the modal-title.
Should be an iframe.
modal.JPG
modal.JPG (66.22 KiB) Viewed 5311 times

Re: Add new record modal box problem

Posted: 2018-06-12 00:15
by George Pattihis
Yes, the iframe is there but the modal box does not expand to show it.

http://prntscr.com/jtunx3

Re: Add new record modal box problem

Posted: 2018-06-12 07:01
by pbottcher
Hi,

could you please expand the iframe and show the next couple entries.