1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 17:02:47 +00:00

[lib create] bugfix for 'group lib create'

This commit is contained in:
llj
2015-05-20 16:19:35 +08:00
parent 132d0cd828
commit 02ab013dd6

View File

@@ -65,7 +65,7 @@ define([
prepend: true, // show newly created repo at first line
success: function() {
if (repos.length == 1) {
repos.fetch({reset: true});
repos.reset(repos.models);
}
},
error: function(xhr, textStatus, errorThrown) {