mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
delete rename successful tips
This commit is contained in:
@@ -773,9 +773,6 @@ class LibContentView extends React.Component {
|
||||
if (isDir) {
|
||||
seafileAPI.renameDir(repoID, path, newName).then(() => {
|
||||
this.renameItemAjaxCallback(path, newName);
|
||||
let name = Utils.getFileName(path);
|
||||
var msg = gettext('Rename {name} successfully').replace('{name}', name);
|
||||
toaster.success(msg);
|
||||
}).catch(() => {
|
||||
let name = Utils.getFileName(path);
|
||||
var msg = gettext('Renaming {name} failed').replace('{name}', name);
|
||||
@@ -784,9 +781,6 @@ class LibContentView extends React.Component {
|
||||
} else {
|
||||
seafileAPI.renameFile(repoID, path, newName).then(() => {
|
||||
this.renameItemAjaxCallback(path, newName);
|
||||
let name = Utils.getFileName(path);
|
||||
var msg = gettext('Rename {name} successfully').replace('{name}', name);
|
||||
toaster.success(msg);
|
||||
}).catch(() => {
|
||||
let name = Utils.getFileName(path);
|
||||
var msg = gettext('Renaming {name} failed').replace('{name}', name);
|
||||
|
Reference in New Issue
Block a user