1
0
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:
llj
2016-03-10 15:11:21 +08:00
parent 6fce263e42
commit 91c3f75251
5 changed files with 18 additions and 8 deletions

View File

@@ -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');
}