anchor.diff:  
                       var $rowElement = $("tr#" + id);
   
  -                    if(!$rowElement.find(":checkbox").is(":focus").length) {
  +                    if (!$rowElement.find(":checkbox").is(":focus").length) {
                           $rowElement.find(":checkbox").first().focus();
                       }
   
  
positive.code:                     }
                  });
              });
          }
  
          function enablePath(type, pathId) {
              $("#" + type + "_enabled_" + pathId).click();
          }
  
          function populateResponseOverrideList(possibleEndpoints) {
  
negative.code:         function overrideEnabledChanged(event, overrideType) {
              var $checkbox = $(event.target);
              var pathId = $checkbox.data("path");
              var isEnabled = $checkbox.is(":checked") ? 1 : 0;
  
              toggleOverride(pathId, overrideType, isEnabled, function() {
                  var rowId = $checkbox.data("row");
                  var originalTargetId = $checkbox.attr("id");
                  var isEnabled = $checkbox.is(":checked");
  
                  var rowData = $("#packages").getLocalRow(rowId);
                  rowData[overrideType + "Enabled"] = isEnabled;
                  $("#packages").setRowData(rowId, rowData);
                  $("#packages").setSelection(rowId, true);
                  // maintain focus on checkbox
                  $("#" + originalTargetId).focus();
  
                  if (!isEnabled) return;
  
                  if (overrideType == "response") {
                      $("[href=\"#tabs-1\"]").click();
                  } else {
                      $("[href=\"#tabs-2\"]").click();
                  }
              }, function() { alert("Could not properly set value"); });
          }
  
          function toggleOverride(pathId, overrideType, isEnabled, successCb, errorCb) {
              return $.ajax({
                  type: "POST",
                  url: '<c:url value="/api/path/"/>' + pathId,
                  data: overrideType + 'Enabled=' + isEnabled + '&clientUUID=' + clientUUID,
                  success: successCb,
                  error: errorCb
              });
          }
  
  