Moodle "Choose a File" Window Size FixOne of the most frustrating things about Moodle is the popup window that opens when a tutor uploads a file. Not only does it open in a small window but it often crops of the side of the screen with the "choose" option.
Many tutors then miss out this vital step of clicking choose and often click the filename, opening the file instead.
So we set about trying to find the code in Moodle which changes the size of the popup window (by default this is set to 750px x 500px.
To change this to something larger simply navigate to the page lib/form/choosecoursefile.php
And around line 24 change the variables to the following:
var $_options = array('courseid'=>null,'height'=>500, 'width'=>1000, 'options'=>'none');
Now when this window is opened it is large enough to see the file name and the actions.