aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2012-03-26 20:23:49 +0200
committerJef van Schendel <mail@jefvanschendel.nl>2012-03-26 20:23:49 +0200
commitebb24e4fd18fb53133755333314a23d22fc72707 (patch)
treeba0152bd864ca7ceb3d84a2688699fc503d6350b
parent7ccf41818581743c2e16935cd7308ad3d6694149 (diff)
downloadmediagoblin-ebb24e4fd18fb53133755333314a23d22fc72707.tar.lz
mediagoblin-ebb24e4fd18fb53133755333314a23d22fc72707.tar.xz
mediagoblin-ebb24e4fd18fb53133755333314a23d22fc72707.zip
Add comment in JavaScript file about duplicating the password field
-rw-r--r--mediagoblin/static/js/show_password.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/static/js/show_password.js b/mediagoblin/static/js/show_password.js
index e42d44ea..b3fbc862 100644
--- a/mediagoblin/static/js/show_password.js
+++ b/mediagoblin/static/js/show_password.js
@@ -17,6 +17,7 @@
*/
$(document).ready(function(){
+ //Create a duplicate password field. We could change the input type dynamically, but this angers the IE gods (not just IE6).
$("#password").after('<input type="text" value="" name="password_clear" id="password_clear" /><label><input type="checkbox" id="password_boolean" />Show password</label>');
$('#password_clear').hide();
$('#password_boolean').click(function(){