diff options
author | Unknwon <u@gogs.io> | 2015-08-15 18:16:39 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-15 18:16:39 +0800 |
commit | c8bb475abb1c661930ca7c835405d7d62f9b154d (patch) | |
tree | 9df1b9ab5150235e789cd11745a2bb19980e8b7f /public/js | |
parent | ce8864c69a8dd6466ad5a39faf5402cd3280d0a2 (diff) | |
download | gitea-c8bb475abb1c661930ca7c835405d7d62f9b154d.tar.gz gitea-c8bb475abb1c661930ca7c835405d7d62f9b154d.zip |
fix autocomplete on migration
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 049e454b1e..5dae3c0c98 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -172,15 +172,6 @@ function initRepository() { return; } - // New migrate - if ($('.repository.new.migrate').length > 0) { - // Clear browser autocomplete. - if ($('#auth_username').data('need-clear')) { - $('#auth_username').val(''); - $('#auth_password').val(''); - } - } - // Labels if ($('.repository.labels').length > 0) { // Create label |