anchor.diff:              var dashboards = dashboardsToAdd.split(',');
   
               var textToAdd = "";
  +            var checked = dashboards.length == 1 ? "checked" : "";
               for (var i = 0; i < dashboards.length; i++) {
                   textToAdd +=
                           "<div class=\"checkbox\"> " +
                           "<label>" +
  -                        "<input type=\"checkbox\" checked name=\"pDashboards\" value=\""+dashboards[i]+"\">" + dashboards[i] +
  +                        "<input type=\"checkbox\" "+checked+" name=\"pDashboards\" value=\""+dashboards[i]+"\">" + dashboards[i] +
                           "</label>" +
                           "</div>";
   
  
positive.code:             var dashboards = dashboardsToAdd.split(',');
  
              var textToAdd = "";
              for (var i = 0; i < dashboards.length; i++) {
                  textToAdd +=
                          "<div class=\"checkbox\"> " +
                          "<label>" +
                          "<input type=\"checkbox\" checked name=\"pDashboards\" value=\""+dashboards[i]+"\">" + dashboards[i] +
                          "</label>" +
                          "</div>";
  
  
negative.code:             var dashboards = dashboardsToAdd.split(',');
  
              var textToAdd = "";
              var checked = dashboards.length == 1 ? "checked" : "";
              for (var i = 0; i < dashboards.length; i++) {
                  textToAdd +=
                          "<div class=\"checkbox\"> " +
                          "<label>" +
                          "<input type=\"checkbox\" "+checked+" name=\"pDashboards\" value=\""+dashboards[i]+"\">" + dashboards[i] +
                          "</label>" +
                          "</div>";
  
  