From 43970df0f3edf7ccef2652cda4c5688e4e78f5dd Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Thu, 27 Dec 2012 16:34:41 +0100 Subject: simplified shift view --- public/css/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/css/forms.js') diff --git a/public/css/forms.js b/public/css/forms.js index 8a6e2c69..630d8c25 100644 --- a/public/css/forms.js +++ b/public/css/forms.js @@ -2,7 +2,7 @@ function check_all(id) { var obj = document.getElementById(id); var boxes = obj.getElementsByTagName("input"); for(var i = 0; i < boxes.length; i++) { - if(boxes[i].type == "checkbox") + if(boxes[i].type == "checkbox" && !boxes[i].disabled) boxes[i].checked = true; } } -- cgit v1.2.3-54-g00ecf