From 36f901fbbd68479a911058f4ec3b9717e81e2b92 Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Mon, 8 Jul 2013 17:28:21 -0700 Subject: used template hooks instead of hardcoding basic_auth functionality into templates --- mediagoblin/static/js/autofilledin_password.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 mediagoblin/static/js/autofilledin_password.js (limited to 'mediagoblin/static/js') diff --git a/mediagoblin/static/js/autofilledin_password.js b/mediagoblin/static/js/autofilledin_password.js deleted file mode 100644 index 45e867fe..00000000 --- a/mediagoblin/static/js/autofilledin_password.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * GNU MediaGoblin -- federated, autonomous media hosting - * Copyright (C) 2012 MediaGoblin contributors. See AUTHORS. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -$(document).ready(function(){ - $('#forgot_password').click(function(event){ - event.preventDefault(); - window.location.pathname = $(this).attr('href') + '?username=' + - $('#username').val(); - }); -}); -- cgit v1.2.3