-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi António,
Make sure your browser has loaded the modified requests.js file. You can hold down the Shift key and click the reload button in your browser with your mouse to force it to load all javascript files again. Also, you can open your browser's javascript debugger and find where it lists the source files to see if you see the changed value in requests.js. One other thing to check - there are 2 similar blocks in requests.js, one for normal reservations and one for imaging reservations. The first block is the one you need to change. In the original code, that one would have had a value of 60. The block for imaging reservations would have had an initial value of 480. Josh On Monday, September 30, 2019 6:25:06 AM EDT António Aragão wrote: > 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: > > > > 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. - -- - ------------------------------- 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----- iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXZH7zAAKCRBX8tBw1209 A+TOAJ9TZOWcswRpdZr3MfYQm9pXjyZIFACdHvul9+/uyX303QE+lCz4clovgoI= =bgUM -----END PGP SIGNATURE-----
