BUG-15031 We can't delete folders using controls into grid SOLVED

- Type is not defined 'file or directory'
- add type in file casesDocuments.js
Merge pull request #2426 from marcoAntonioNina/BUG-15031

BUG-15031 We can't delete folders using controls into grid SOLVED