anchor.diff:      return true;
     };
   
  -  var avatarName = "<%= @avatar.name %>";
     var fileButtons =  $('#file-operations');
     var newFile = fileButtons.find('#new');
     var renameFile = fileButtons.find('#rename');
  
positive.code:     var okClicked = function(filename) {
        renameFileFromTo(initialFilename, filename);
      };
      openDialog('rename', initialFilename, okInitiallyDisabled, okClicked, avatarName);
    });
  
    deleteFile.click(function() {
  
negative.code:     var okClicked = function(filename) {
        cd.deleteFile(filename);
      };
      openDialog('delete', initialFilename, okInitiallyDisabled, okClicked);
    });
  
  });
  