MediaWiki:Gadget-Massblock.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m fix
m fix disattivazione campi
Riga 600:
*/
var toggleProtectionFields = function() {
if (
if !( !talkProtectCb.isSelected() &&|| !userProtectCb.isSelected() ) {||
!isInfinity( $( '#wpMassBlockExpiry input' ).val().trim() )
) {
protectReasonField.setDisabled( true );
} else {
Line 639 ⟶ 642:
talkProtectCb,
userSummaryField,
userProtectCb,
protectReasonField
];
 
Line 646 ⟶ 648:
disableEls[ el ].setDisabled( !enable );
}
 
toggleProtectionFields();
} );