summaryrefslogtreecommitdiff
path: root/skins/common/changepassword.js
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
commit9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch)
tree46d1a0dee7febef5c2d57a9f7b972be16a163b3d /skins/common/changepassword.js
parent78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff)
update to MediaWiki 1.17.0
Diffstat (limited to 'skins/common/changepassword.js')
-rw-r--r--skins/common/changepassword.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/skins/common/changepassword.js b/skins/common/changepassword.js
deleted file mode 100644
index 1e3e2069..00000000
--- a/skins/common/changepassword.js
+++ /dev/null
@@ -1,16 +0,0 @@
-
-function onNameChange() {
- if ( wgUserName != document.getElementById('wpName').value ) {
- document.getElementById('wpPassword').disabled = true;
- document.getElementById('wpComment').disabled = false;
- } else {
- document.getElementById('wpPassword').disabled = false;
- document.getElementById('wpComment').disabled = true;
- }
-}
-
-function onNameChangeHook() {
- document.getElementById( 'wpName' ).onblur = onNameChange;
-}
-
-addOnloadHook( onNameChangeHook );