Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing javasScript function confirmfunction #134

Open
azirer opened this issue Feb 18, 2018 · 0 comments
Open

Missing javasScript function confirmfunction #134

azirer opened this issue Feb 18, 2018 · 0 comments
Assignees
Labels

Comments

@azirer
Copy link

azirer commented Feb 18, 2018

On a few tpl files there is function confirmfunction which is not declared in any js file.
I think that you mean something like this:

function confirmfunction(text,functionToExec) { check = confirm(text); if(check == true){ eval(functionToExec); } }

But this uses eval with whatever that might mean...

However all instances of confirmfunction use the deleteElement() as a function to evaluate so they should better be replaced with the function confirmDelete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants