Index: trunk/extensions/ReplaceText/ReplaceText.js |
— | — | @@ -2,7 +2,8 @@ |
3 | 3 | form = document.getElementById('choose_pages'); |
4 | 4 | num_elements = form.elements.length; |
5 | 5 | for (i = 0; i < num_elements; i++) { |
6 | | - if (form.elements[i].type == "checkbox") { |
| 6 | + cur_element = form.elements[i]; |
| 7 | + if (cur_element.type == "checkbox" && cur_element.id != 'create-redirect' && cur_element.id != 'watch-pages') { |
7 | 8 | if (form.elements[i].checked == true) |
8 | 9 | form.elements[i].checked = false; |
9 | 10 | else |