Add to conversation is not editable. | Community
Skip to main content

Add to conversation is not editable.

  • March 28, 2021
  • 34 replies
  • 0 views

Show first post

34 replies

  • October 18, 2022

Hi Ifra! Thanks so much for sticking with me on this. I made the update however it is still not working :(


Ifra
  • October 19, 2022

Hi Holli Kyle,

You missed to add this line of code:

$(document).ready(function () {

 

Error:

 

 

when I opened it:

 

Fixes: code should be -

$(document).ready(function () {
if (window.location.href.indexOf("114098261672") > -1) {
$('.form-field.request_subject').hide(); // Hide subject
$('#request_subject').val('test subject'); // autofill subject

})


Error resolved:

 

 

Move your jQuery code inside DOM function I mean this:

After updating, let me know if any new bug occurs :b


  • October 20, 2022

Hi Ifra! Thanks again for the help! It is still not working and I checked to make sure I copied exactly what you had. :/ I'm so sorry I'm not sure what is wrong.


Ifra
  • October 20, 2022

@Holli Kyle, there is extra brackets see:

 

 

When I opened the bug the: See line no. 512

 

 

Please remove those last two closing bracket and after removing you code will be like this:

 

Now, see line no. 512

 

 

Go to your script.js file


  • October 20, 2022

Hi there - I made that update but still same result. :(


Ifra
  • October 20, 2022

Holli Kyle, did you do this update in your live theme which I'm watching?

URL of your HC: https://knackops.zendesk.com/hc/en-us 

Error still exists:

 

 

 

Script file:

 

 

I think you are doing these update in your local theme instead of live theme.


  • October 20, 2022

Oops! It appears I got logged out during making the change however when I made the update and saved it successfully I am still getting the same result. 


Ifra
  • October 20, 2022

Holli Kyle, remove the end_user condition from the script code mentioned below screenshot:

 

 

After removing, you code would be:

 

 

Currently it's not working for end_users:

 

 

 

 

 

Now, let me know your query.

what is your requirement for this button?


  • October 21, 2022

Ahhh! That makes sense. I removed the line you mentioned however the add to conversation is still not available. 

We are wanting to use this support center with a partner company of non-agents (end-users) - they need to be able to track their open tickets and add comments on them outside of just their email box.

Thanks again for your help!