Cannot delete in Chrome
Posted: 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
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