ajaxorg/cloud9 — pull request #2372 by janjongboom (2012-10-30 11:41:40+00:00)
Title: Upload files fixes

* Second chunk upload causes a 404 due to a bug in realpath
* 404 wasn't handled but instead the upload was paused due to assuming we should be offline after it
* Uploading a single file that isn't recognized by the browser (think yml) causes the folder upload dialog to show up

Fixes ajaxorg/cloud9infra#3023