1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Add about dialog

This commit is contained in:
Daniel Pan
2016-05-07 17:01:31 +08:00
committed by llj
parent 134cef775a
commit 0c6e50818e
3 changed files with 26 additions and 6 deletions

View File

@@ -49,7 +49,8 @@ define([
'click #group-nav a:first': 'toggleGroupList',
'click #enable-mods': 'enableMods',
'click .js-close-side-nav': 'closeNav',
'click li > a': 'visitLink'
'click li > a': 'visitLink',
'click .js-about': 'showAbout'
},
toggleGroupList: function() {
@@ -175,6 +176,12 @@ define([
return true;
},
showAbout: function() {
var $about = this.$('.about-content');
$about.modal();
return false;
}
});
return sideNavView;