Hi Josh,

it doesn't change the time, any clue ?

Thanks.

Josh Thompson <[email protected]> escreveu no dia quinta, 26/09/2019
à(s) 15:54:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi António,
>
> There are 2 places where you will need to change the default value.
>
> requests.php -> newReservationHTML
> * search for "durationChange" to find the following:
>    $h .= selectInputHTML('length', $lengths, 'reqlength',
>                          "onChange='updateWaitTime(0); setEndDuration();
> durationChange();'", 60);
> * change the 60 at the end to the number of minutes in the new default
> (120
> for 2 hours)
>
> requests.js -> selectResType
> * search for durationchanged to find the following lines:
>      if(! durationchanged)
>          dojo.byId('reqlength').value = 60;
> * change the 60 to the same number you used in newReservationHTML (120 for
> 2
> hours)
>
> Josh
>
> On Thursday, September 26, 2019 10:22:05 AM EDT António Aragão wrote:
> > Hi,
> >
> > does anyone knows where I can change the initial time reservation from 1
> > hour to 2 hours.
> >
> > Thanks.
>
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
>
> iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXYzQ5QAKCRBX8tBw1209
> A210AJ4itbEufmQOEYkpQZ6ifJKlQcNdUQCbBg/5nROvXyZnV7tf1o4ZdG1kd0w=
> =fKbA
> -----END PGP SIGNATURE-----
>
>
>
>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Reply via email to