mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
[lib setting] folder perm: open the jstree
This commit is contained in:
@@ -190,10 +190,8 @@ define([
|
||||
},
|
||||
|
||||
renderTreeForPath: function(options) {
|
||||
// check templates/snippets/lib_op_popups.html for the template
|
||||
var form = $('#mv-form'),
|
||||
container = $('#current-repo-dirs'),
|
||||
loading_tip = container.prev();
|
||||
var form = options.$form,
|
||||
container = options.$container;
|
||||
|
||||
var repo_name = options.repo_name,
|
||||
repo_id = options.repo_id;
|
||||
@@ -256,7 +254,6 @@ define([
|
||||
}
|
||||
json_data.push(repo_data);
|
||||
|
||||
loading_tip.hide();
|
||||
_this.renderDirTree(container, form, json_data);
|
||||
container.removeClass('hide');
|
||||
},
|
||||
@@ -266,7 +263,6 @@ define([
|
||||
'attr': {'repo_id': repo_id, 'root_node': true},
|
||||
'state': 'closed'
|
||||
}];
|
||||
loading_tip.hide();
|
||||
_this.renderDirTree(container, form, cur_repo);
|
||||
container.removeClass('hide');
|
||||
}
|
||||
|
Reference in New Issue
Block a user