mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-15 10:59:28 +00:00
Fixed so that inverting selections doesn't affect move-pages option checkboxes
This commit is contained in:
parent
5ce3eaf5ba
commit
b6351eb63a
Notes:
Yaron Koren
2009-07-20 18:49:29 +00:00
|
@ -2,7 +2,8 @@ function invertSelections() {
|
|||
form = document.getElementById('choose_pages');
|
||||
num_elements = form.elements.length;
|
||||
for (i = 0; i < num_elements; i++) {
|
||||
if (form.elements[i].type == "checkbox") {
|
||||
cur_element = form.elements[i];
|
||||
if (cur_element.type == "checkbox" && cur_element.id != 'create-redirect' && cur_element.id != 'watch-pages') {
|
||||
if (form.elements[i].checked == true)
|
||||
form.elements[i].checked = false;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue