                  Actions.counter();
              });
          }
          for(var i = 0; i < actionCheckboxes.length; i++) {
              addEvent(actionCheckboxes[i], 'click', function() {
                  Actions.counter();
              });
          }
          var changelistTable = document.getElementsBySelector('#changelist table')[0];
          if (changelistTable) {
 
</s> remove                     Actions.checked();
 </s> add 
            addEvent(actionCheckboxes[i], 'click', function(e) {
                if (!e) { var e = window.event; }
                var target = e.target ? e.target : e.srcElement;
                if (lastChecked && lastChecked != target && e.shiftKey == true) {
                    var inrange = false;
                    lastChecked.checked = target.checked;
                    Actions.toggleRow(lastChecked.parentNode.parentNode, target.checked);
                    for (var i = 0; i < actionCheckboxes.length; i++) {
                        if (actionCheckboxes[i] == lastChecked || actionCheckboxes[i] == target) {
                            inrange = (inrange) ? false : true;
                        }
                        if (inrange) {
                            actionCheckboxes[i].checked = target.checked;
                            Actions.toggleRow(actionCheckboxes[i].parentNode.parentNode, target.checked);
                        }
                    }
                }
                lastChecked = target;
                  Actions.counter();
              });
          }
          for(var i = 0; i < actionCheckboxes.length; i++) {
            addEvent(actionCheckboxes[i], 'click', function(e) {
                if (!e) { var e = window.event; }
                var target = e.target ? e.target : e.srcElement;
                if (lastChecked && lastChecked != target && e.shiftKey == true) {
                    var inrange = false;
                    lastChecked.checked = target.checked;
                    Actions.toggleRow(lastChecked.parentNode.parentNode, target.checked);
                    for (var i = 0; i < actionCheckboxes.length; i++) {
                        if (actionCheckboxes[i] == lastChecked || actionCheckboxes[i] == target) {
                            inrange = (inrange) ? false : true;
                        }
                        if (inrange) {
                            actionCheckboxes[i].checked = target.checked;
                            Actions.toggleRow(actionCheckboxes[i].parentNode.parentNode, target.checked);
                        }
                    }
                }
                lastChecked = target;
                  Actions.counter();
              });
          }
          var changelistTable = document.getElementsBySelector('#changelist table')[0];
          if (changelistTable) {
keep keep keep keep replace keep keep keep keep keep
 Fixed #11697 - Allow shift clicking for selecting multiple action checkboxes in the admin changelist. Thanks buriy and Sean Brant.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12155 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/contrib/admin/media/js/actions.js