fix js error in admin, repository added

- input category
- input file (on progress)