diff options
author | Unknwon <u@gogs.io> | 2015-08-06 22:48:11 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-06 22:48:11 +0800 |
commit | 39a3b768bc8b0288cb4aa91d27485f46cfbfeb29 (patch) | |
tree | bef625e010018151863344d9da3ff22d2dfbc8f9 /public/js | |
parent | 9f12ab0e8847682a686fdb843922a761bbb5c225 (diff) | |
download | gitea-39a3b768bc8b0288cb4aa91d27485f46cfbfeb29.tar.gz gitea-39a3b768bc8b0288cb4aa91d27485f46cfbfeb29.zip |
#334: Add Deployment Key Support
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 8802ea6423..7e57a5e148 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -86,6 +86,13 @@ function initRepository() { return false; }); } + + // Settings + if ($('.repository.settings').length > 0) { + $('#add-deploy-key').click(function () { + $('#add-deploy-key-panel').show(); + }); + } }; $(document).ready(function () { |