make "other time" chain properly with JS
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Sep 2008 09:24:51 +0000 (09:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Sep 2008 09:24:51 +0000 (09:24 +0000)
includes/ProtectionForm.php

index 212733a..c30adad 100644 (file)
@@ -282,7 +282,7 @@ class ProtectionForm {
 
                        $mProtectexpiry = Xml::label( wfMsg( 'protectexpiry' ), "mwProtectExpiryList-$action" );
                        $mProtectother = Xml::label( wfMsg( 'protect-othertime' ), "mwProtect-$action-expires" );
-                       $expiryFormOptions = Xml::option( wfMsg( 'protect-othertime-op' ), "wpProtectExpiryList-$action" );
+                       $expiryFormOptions = Xml::option( wfMsg( 'protect-othertime-op' ), "othertime" );
                        foreach( explode(',', $scExpiryOptions) as $option ) {
                                if ( strpos($option, ":") === false ) $option = "$option:$option";
                                list($show, $value) = explode(":", $option);