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

Duplicate Tickets and Ticket-Answers when Refreshing the Page #4620

Closed
jthakilla9 opened this issue Nov 26, 2018 · 1 comment
Closed

Duplicate Tickets and Ticket-Answers when Refreshing the Page #4620

jthakilla9 opened this issue Nov 26, 2018 · 1 comment

Comments

@jthakilla9
Copy link

jthakilla9 commented Nov 26, 2018

When i refresh the page, it creates a ticket from the previous session. I found out that there is a script for temporally fix.

This is the script:

<script type="text/javascript">setTimeout(function(){ window.location.href = "tickets.php?id=getId(); ?>";}, 1200);</script>

I implemented this in the file 'client\view.inc.php'.

But it didnt work.

This is where i put the script in.

checkUserAccess($thisclient)) die('Access Denied!'); $info=($_POST && $errors)?Format::htmlchars($_POST):array(); $dept = $ticket->getDept(); !
<script type="text/javascript">setTimeout(function(){ window.location.href = "tickets.php?id=getId(); ?>";}, 1200);</script>!

Is there some other solution or script, or did i do something wrong?

@JediKev
Copy link
Contributor

JediKev commented Nov 26, 2018

@jthakilla9

This will be addressed in the 1.11 series when #4509 is accepted and merged.

Cheers.

@JediKev JediKev closed this as completed Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants