insert the uploaded directory into the front
Merge pull request #346 from haiwen/fix_todo_insert_item

insert the uploaded directory into the front