Jump to content

Recommended Posts

Posted

~/scripts/hap.helpdesk.js

 

$("#ticket-note, #ticket-AwareI").val("");

to

$("#ticket-note").val("Some default value");
$(#ticket-AwareI").val("");

 

$("#newticket-note").val("");

to

$("#newticket-note").val("Some default value");

Posted

Thanks Nick,

 

That puts "Some default value" into the notes box on an existing ticket but I need to have prefilled text when a user goes to create a ticket.

Posted

Hi Nick,

 

Sorry, I haven't made myself clear. I just need some pre filled text such as:

 

"Press File Ticket ONCE. Please make sure you provide as much detail as you can, including what measures you have taken"

 

Your above edit worked but not on a new ticket. Once I had created a test ticket the pre filled text was then in the notes box.

Posted

O ok

 

for these

function updateTicket() {

function assignTicket() {

function fileTicket() {

add this below

$("button, input").prop("disabled", true);[code]

Then

[code]function Update() {

add this below

$("button, input").prop("disabled", false);

 

This will disable the button once it's clicked once straight away, so if they double click on it the 2nd click shouldn't work

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...