1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

Add rename

This commit is contained in:
Daniel Pan
2016-02-26 14:44:30 +08:00
parent 43a5861ea4
commit 3de67a1f15
8 changed files with 157 additions and 53 deletions

View File

@@ -162,8 +162,7 @@ define([
formSubmit: function() {
var _this = this;
var form_id = this.$form.attr('id'),
path = this.dir.path,
var path = this.dir.path,
repo_id = this.dir.repo_id,
obj_name = this.dirent.get('obj_name'),
obj_type = this.dirent.get('is_dir') ? 'dir' : 'file';
@@ -216,7 +215,7 @@ define([
'post_url': post_url,
'post_data': post_data,
'after_op_success': after_op_success,
'form_id': form_id
'form_id': this.$form.attr('id')
});
return false;
}