Customer Ticket must be sent twice before it is created

Moderator: crythias

Locked
megavolt
Znuny newbie
Posts: 2
Joined: 06 Sep 2010, 14:33
Znuny Version: 3 beta

Customer Ticket must be sent twice before it is created

Post by megavolt »

Hi guys. I have a problem with Otrs 3 beta. When I try to send a Customer Ticket, i habe to klick the submit button twice, before it is really created.
Can anyon help me?

P.S.: I hope you don't mind my englisch. Not a native speaker.
megavolt
Znuny newbie
Posts: 2
Joined: 06 Sep 2010, 14:33
Znuny Version: 3 beta

Re: Customer Ticket must be sent twice before it is created

Post by megavolt »

I found a way to fix it.

When I try to submit the E-Mail-Ticket for the first time the Post-Request sended the paramter expand=3. The second submit try it was empty.

In the file CustomerTicketMessage.dtl there are the lines

// make sure the ticket is not yet created on queue change
$('input#Expand').val(3); // not sure about the meaning of "3"

So if you wipe out the value 3, no value is put in the hidden input field "Expand" and no second submit pressing is required.

I don't know if it is vital to pass that value and if I run into other problems this way, but for the moment it works.
Locked