From c8bb475abb1c661930ca7c835405d7d62f9b154d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 15 Aug 2015 18:16:39 +0800 Subject: fix autocomplete on migration --- public/js/gogs.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'public/js') diff --git a/public/js/gogs.js b/public/js/gogs.js index 049e454b..5dae3c0c 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 -- cgit v1.2.3