Skip to content
Snippets Groups Projects
Commit f285f6f5 authored by madhurajshanbhogh's avatar madhurajshanbhogh
Browse files

#Fixes::156636552::madhusr::document title not changed after changing the document while upload

parent 567ccfad
No related branches found
No related tags found
1 merge request!979#Fixes::156636552::madhusr::document title not changed after changing the document while upload
......@@ -199,9 +199,9 @@ Vtiger.Class('Documents_Index_Js', {
var fileParts = fileName.split('.');
var fileType = fileParts[fileParts.length - 1];
let notesTitle = container.find('[name="notes_title"]').val();
if (!notesTitle.trim()) {
container.find('[name="notes_title"]').val(fileName.replace('.' + fileType, ''));
}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment