diff --git a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js
index 8ffe257569..2fcb6aca7f 100644
--- a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js
+++ b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js
@@ -170,7 +170,10 @@ class FilesRowContent extends React.PureComponent {
const itemId = e.currentTarget.dataset.itemid;
- if (itemTitle.trim() === "") return this.completeAction(itemId);
+ if (itemTitle.trim() === "") {
+ toastr.warning(this.props.t("CreateWithEmptyTitle"));
+ return this.completeAction(itemId);
+ }
let tab = item.fileExst
? window.open("/products/files/doceditor", "_blank")
diff --git a/products/ASC.Files/Client/src/components/pages/Home/locales/en/translation.json b/products/ASC.Files/Client/src/components/pages/Home/locales/en/translation.json
index a3f074dbc6..13b6d97e3b 100644
--- a/products/ASC.Files/Client/src/components/pages/Home/locales/en/translation.json
+++ b/products/ASC.Files/Client/src/components/pages/Home/locales/en/translation.json
@@ -117,5 +117,6 @@
"MoveItems": "{{qty}} elements has been moved",
"CopyItem": "{{title}} copied",
"CopyItems": "{{qty}} elements copied",
- "ContainsSpecCharacter": "The title cannot contain any of the following characters: *+:\"<>?|/"
+ "ContainsSpecCharacter": "The title cannot contain any of the following characters: *+:\"<>?|/",
+ "CreateWithEmptyTitle": "Can't create folder or file with empty title"
}
diff --git a/products/ASC.Files/Client/src/components/pages/Home/locales/ru/translation.json b/products/ASC.Files/Client/src/components/pages/Home/locales/ru/translation.json
index 66abc5ed83..aa85e21041 100644
--- a/products/ASC.Files/Client/src/components/pages/Home/locales/ru/translation.json
+++ b/products/ASC.Files/Client/src/components/pages/Home/locales/ru/translation.json
@@ -117,5 +117,6 @@
"MoveItems": "Перемещено элементов: {{qty}}",
"CopyItem": "{{title}} скопирован",
"CopyItems": "Скопировано элементов: {{qty}}",
- "ContainsSpecCharacter": "Название не должно содержать следующих символов: *+:\"<>?|/"
+ "ContainsSpecCharacter": "Название не должно содержать следующих символов: *+:\"<>?|/",
+ "CreateWithEmptyTitle": "Нельзя создать папку или файл с пустым названием"
}