Fixed so that inverting selections doesn't affect move-pages option checkboxes

This commit is contained in:
Yaron Koren 2009-04-27 18:34:07 +00:00
parent 5ce3eaf5ba
commit b6351eb63a
Notes: Yaron Koren 2009-07-20 18:49:29 +00:00

View file

@ -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