clonemeagain / osticket-plugin-notefirst

Ensures that when you view a ticket, the "Post Internal Note" tab is highlighted where possible.
3 stars 5 forks source link

osTicket v1.10.5 #4

Open nerdtechse opened 5 years ago

nerdtechse commented 5 years ago

Hi!

Cant get this great plugin to work with 1.10.5. Is ther anything i can provide in logs for you?

clonemeagain commented 5 years ago

Hey chief, haven't tested it, but I've got some other plugins updated for 1.11 now, so I'll check this one and get back to you.

nerdtechse commented 5 years ago

Thanks! 👍

dhimelick commented 5 years ago

I'm also interested in this, though for 1.11 rather than 1.10.5. Also happy to provide logs if needed.

jester84 commented 5 years ago

Hi, i also tried to get last version running with 1.11 but no success. Also installed attachment_preview plugin if its still necessary...

dhimelick commented 5 years ago

I got this working in 1.11 and 1.12 by changing the js in NoteFirstPlugin.php (lines 83-98) to: $(document).ready(function () { $('#post-note-tab').click(); }); However, it requires the Attachment Preview plugin to be active (i.e. check the "Permission" box in the plugin config). It also seems to require the "Inline textfiles" checkbox to be checked.

No idea if there are adverse affects from doing this, as I haven't tested much.

clonemeagain commented 5 years ago

@dhimelick can you submit a PR?

Wizidge commented 5 years ago

Hello, I'm trying to make this work on OSticket 1.12. I've got both plugins installed but it is not working. Is what dhimeclick said a solution? I really need this to work I have Agents sending internal comments to customers. Please help.

dhimelick commented 4 years ago

Submitted PR #5.

nerdtechse commented 2 years ago

The fix @dhimelick suggested has worked like a dream until now with 1.17.. Now its back to not working.. Is there someone that can give this plugin some love? =) Have tried myself but im not that good programmer!