[dev] Autofill "Time unit" field

Martin Edenhofer me at otrs.com
Fri May 11 10:05:35 GMT 2007


Hi Tony,

Chef Tony schrieb:

> I have to autofill the "Time unit" field in the "Close ticket" webpage.
> Can someone explain me how modify to obtain this behaviour?

What do you want to fill in automatically?

The time which somebody spend between the page load time and the submit?

If this, you need to modify the java script on this page. For example
you need to add in the ...<body onload="SomeJS()">... to start a timer
who counts the time and show it in the "Time unit" field.

So, this is a basic how to do this. .-)

Greetings,

  -Martin

((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing
  Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
    http://www.otrs.com/ :: Communication with success!


More information about the dev mailing list