Rename Files in the Queue

Click a file name to rename before upload

Every PENDING (or FAILED) row's name is now click-to-edit. Commits on Enter / blur, reverts on Escape. The original extension is preserved unless the user types a new one - and any new extension is validated against allowedExtensions if set. Already-uploading or completed files are intentionally non-editable.


 
 
 
Configuration
AjaxUploader.create('#uploader', {
 allowRename: true, // default - rows are click-to-edit
 allowedExtensions: 'jpg,png,pdf', // new extensions are validated
 onRename: function (task, oldName, newName) {
 console.log('renamed:', oldName, '->', newName);
 }
});