summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-15 18:16:39 +0800
committerUnknwon <u@gogs.io>2015-08-15 18:16:39 +0800
commitc8bb475abb1c661930ca7c835405d7d62f9b154d (patch)
tree9df1b9ab5150235e789cd11745a2bb19980e8b7f /public/js
parentce8864c69a8dd6466ad5a39faf5402cd3280d0a2 (diff)
downloadgitea-c8bb475abb1c661930ca7c835405d7d62f9b154d.tar.gz
gitea-c8bb475abb1c661930ca7c835405d7d62f9b154d.zip
fix autocomplete on migration
Diffstat (limited to 'public/js')
-rw-r--r--public/js/gogs.js9
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