tiket icon indicating copy to clipboard operation
tiket copied to clipboard

The reply button on comments does not automatically reload when I give a comment and press the reply button

Open petrukkyaipethel opened this issue 4 years ago • 11 comments

2020-10-06_13-04 the reply button on the comment when pressed does not reload, it is just silent, there is no response, but the comment data is entered, while when attaching a file, the reply button reloads. does he work like that? thanks you

petrukkyaipethel avatar Oct 06 '20 06:10 petrukkyaipethel

@petrukkyaipethel can you share the browser console screenshot after you click on the Reply button in case of the only comment? We need to see if there is any javascript error.

eksha avatar Oct 07 '20 15:10 eksha

You can try it yourself, when you input comments without using attachments, there is no error but must be reloaded in the browser so that the comment results appear. that's the problem.

petrukkyaipethel avatar Oct 08 '20 04:10 petrukkyaipethel

2020-10-12_13-02

please can you help me ?

petrukkyaipethel avatar Oct 12 '20 06:10 petrukkyaipethel

The helpdesk ticket login display is not working properly.

petrukkyaipethel avatar Oct 12 '20 06:10 petrukkyaipethel

@petrukkyaipethel There is a setting in client.config.php

define('BASE_URL', 'http://localhost:8080/');

It might be mentioned the same as above, but in your case, the base URL is 'http://localhost/tiket'

Please change the line to define('BASE_URL', 'http://localhost/tiket');

eksha avatar Oct 13 '20 05:10 eksha

but I have a problem, when creating a new ticket, without attaching the file, the application will not run properly

on tikaj helpdesk

petrukkyaipethel avatar Oct 13 '20 10:10 petrukkyaipethel

I have installed the GitHub - although I'm receiving the following message: 'Note: Email notifications have been disabled in this demo version.' How do I enable the 'full' version?

ianarman1 avatar Nov 16 '20 10:11 ianarman1

I have the same error, it does not save the ticket, if it does not add a file. Actually ... when you do not add a file and press create if it is saved, only you do not perform the event of going to the ticket view as if it were complete, you must refresh the page manually and it is added. It also does not send the configure client.config.php mails but it does not send, I want to send through smtp.gmail.com and it does not do it. The app is great, with some repairs it is incredible and has a great view design. Greetings!

ddiaz2380 avatar Apr 09 '21 05:04 ddiaz2380

@ddiaz2380 I have addressed your issue with the emails not being sent here

Regarding this particular bug with file attachments, I will soon try to take out time and fix it.

eksha avatar Apr 21 '21 11:04 eksha

Thanks! @eksha because the project is very nice, a shame to let it die.

ddiaz2380 avatar Apr 21 '21 17:04 ddiaz2380

try this in

application / controllers / API / Ticket.php

public function addThreadMessage() { $thread_data = [ 'ticket' => $this->input->post('ticket_no'), 'message' => $this->input->post('message'), 'data' => json_encode($this->input->post('data')), 'owner' => $this->Session->getLoggedDetails()['username'], 'created' => time(), 'type' => $this->input->post('type') ]; if (trim($thread_data['message']) == '') { $this->sendJSON(array('result'=> -1)); } else { $res = $this->Tickets->add_thread($thread_data); //thiss if (!empty($this->input->post('data')['attachments'])) $this->Tickets->addAttachmentRef($this->input->post('data')['attachments'], $this->input->post('ticket_no')); $this->sendJSON(array('result'=> $res)); }

}

mariolugo2 avatar Oct 10 '22 19:10 mariolugo2