Cannot delete in Chrome

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
casjazz
Posts: 5
Joined: 2014-09-21 14:11

Cannot delete in Chrome

Post by casjazz » 2015-10-19 21:35

When trying to delete an entry in Chrome, the alert saying something like "Are you sure - press OK" won't show.
Tried looking in the error console:
Ignored call to 'confirm()'. The document is sandboxed, and the 'allow-modals' keyword is not set.
I updated a line in common.js to:
'<iframe width="100%" height="100%" sandbox="allow-modals allow-forms allow-scripts allow-same-origin allow-popups" src="' + url + '"></iframe>'

And now the alert shows - and allow me to delete.
Is there a better way to fix this? and do I need to modify any other files ?

Greetings
Casper

Bertv
Veteran Member
Posts: 65
Joined: 2013-12-11 15:59

Re: Cannot delete in Chrome

Post by Bertv » 2015-10-26 13:59

Hi,
I had the same problem with a simple form (only three fields): deleting in Chrome not possible, in Explorer or Firefox no problem and all works fine.
But good news: after moving up one of the fields and generating the application it works now fine in Chrome too !
Bert
I am using Appgini 5.75

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Cannot delete in Chrome

Post by a.gneady » 2015-10-26 18:48

Thanks for reporting this and for the suggested fix by @casjazz. We'll fix this issue in the next release due within a few days.
:idea: AppGini plugins to add more power to your apps:

dragon
Veteran Member
Posts: 44
Joined: 2015-09-29 00:06

Re: Cannot delete in Chrome

Post by dragon » 2015-11-04 16:24

a.gneady wrote:Thanks for reporting this and for the suggested fix by @casjazz. We'll fix this issue in the next release due within a few days.
Any update on the next release? :D
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Cannot delete in Chrome

Post by a.gneady » 2015-11-09 21:25

We're finalizing the beta and will send download links for it hopefully before Thursday. Stay tuned!
:idea: AppGini plugins to add more power to your apps:

Post Reply