User:逆襲的天邪鬼/Twinkle-lzh/friendlytag.js: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
break; |
break; |
||
case "文未準": |
case "文未準": |
||
var disputes = []; |
|||
for (var reason in Twinkle.tag.article.dispute) { |
|||
disputes.push({ |
|||
value: reason, |
|||
label: Twinkle.tag.article.dispute[reason] |
|||
}); |
|||
} |
|||
checkbox.subgroup = [ |
|||
{ |
|||
name: 'disputeReason', |
|||
type: 'checkbox', |
|||
list: disputes |
|||
}, |
|||
{ |
|||
name: 'disputeCustomReason', |
|||
type: 'input', |
|||
label: '其他原因:' |
|||
} |
|||
]; |
|||
break; |
break; |
||
default: |
default: |
||
Line 91: | Line 110: | ||
var checkboxes = []; |
var checkboxes = []; |
||
$.each(Twinkle.tag.article.tags, function(tag, description) { |
$.each(Twinkle.tag.article.tags, function(tag, description) { |
||
checkboxes.push(makeCheckbox(tag, description)); |
|||
}); |
}); |
||
form.append({ |
form.append({ |