mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
show guide when there is no owned repos
This commit is contained in:
@@ -49,6 +49,11 @@ define([
|
||||
} else {
|
||||
this.$emptyTip.show();
|
||||
this.$table.hide();
|
||||
// Show guide popup when there is no owned repos and guide flag is true.
|
||||
if (app.pageOptions.guide_enabled) {
|
||||
$('#guide-for-new').modal({appendTo: '#main', focus:false});
|
||||
app.pageOptions.guide_enabled = false;
|
||||
}
|
||||
}
|
||||
this.$loadingTip.hide();
|
||||
},
|
||||
|
Reference in New Issue
Block a user