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

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

Open
petrukkyaipethel opened this issue Oct 6, 2020 · 11 comments

Comments

@petrukkyaipethel
Copy link

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

@eksha
Copy link
Member

eksha commented Oct 7, 2020

@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.

@petrukkyaipethel
Copy link
Author

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
Copy link
Author

2020-10-12_13-02

please can you help me ?

@petrukkyaipethel
Copy link
Author

The helpdesk ticket login display is not working properly.

@eksha
Copy link
Member

eksha commented Oct 13, 2020

@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');

@petrukkyaipethel
Copy link
Author

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

on tikaj helpdesk

@ianarman1
Copy link

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?

@ddiaz2380
Copy link

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!

@eksha
Copy link
Member

eksha commented Apr 21, 2021

@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.

@ddiaz2380
Copy link

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

@mariolugo2
Copy link

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));
}

}

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

5 participants