1
0
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:
zhengxie
2015-04-17 10:42:44 +08:00
committed by Daniel Pan
parent d286452e2b
commit c870a61d0c
3 changed files with 11 additions and 6 deletions

View File

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