Use correct path for uploadFile action even when looking at a page in a folder
Merge pull request #743 from singlebrook/upload_action_path

Use correct path for uploadFile action even when current page is in a folder.