anchor.diff:              }
   
               function createAndSaveNewActivity() {
  +                clearErrorMessage()
                   var activityCode = $('#new-inputCode').val()
                   var activitySource= $('#sources').val()
   
  
positive.code:             }
  
              function editSaveDeleteButtonClicked(e, button) {
                  var buttonClass = $w(e.target.className)[0];
                  var activityRow = $(e.target).closest('tr');
                  var editAction = "edit";
  
negative.code:                 var element = '<Activity name=\"' + activityName +'\" code=\"' + activityCode +'\" description=\"'
                          + activityDescription +'\" type=\"'+activityTypeName +'\" source=\"' + activitySource + '\"/>'
  
                  $.ajax({
                      url: psc.tools.Uris.relative("/api/v1/activities/"+encodeURIComponent(activitySource)+"/"+ encodeURIComponent(activityCode)),
                      type: 'PUT',
  