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:
@@ -65,7 +65,7 @@ define([
|
|||||||
prepend: true, // show newly created repo at first line
|
prepend: true, // show newly created repo at first line
|
||||||
success: function() {
|
success: function() {
|
||||||
if (repos.length == 1) {
|
if (repos.length == 1) {
|
||||||
repos.fetch({reset: true});
|
repos.reset(repos.models);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function(xhr, textStatus, errorThrown) {
|
error: function(xhr, textStatus, errorThrown) {
|
||||||
|
Reference in New Issue
Block a user