MediaWiki:Gadget-twinkleblock.js: Difference between revisions

Content deleted Content added
Repo at 6a11ff8: Fix bug showing erroneous input box on a reblock form initialization; Check if the user was blocked while filling out the form
Repo at b3b2e20: fix IE bug; remove unused variables
Line 1,299:
}
 
$(form).find('[name=field_block_options]').find(':checkbox').each(function(i, el) {
// don't override original options if useInitialOptions is set
if (data.useInitialOptions && data[el.name] === undefined) {
Line 1,353:
};
Twinkle.block.prev_template_expiry = null;
Twinkle.block.prev_block_reason = null;
Twinkle.block.prev_article = null;
Twinkle.block.prev_reason = null;
 
Twinkle.block.callback.preview = function twinkleblockcallbackPreview(form) {