       'click #show-diffs': 'showDiffsModal'
       'click #edit-repo': 'editRepoModal'
       'submit #edit-repo-form': 'editRepo'
-      'click [data-default-repo]': 'editRepo'
+      'click [data-default-repo]': 'defaultRepo'
 
     initialize: () ->
       # When a model has changed (triggered `dirty`) update the Save button

      # Show the modal
      $modal.modal {show:true}

    # Edit the current repo settings
    editRepo: (e) ->
      # Prevent form submission


        repoUser = auth.$el.find('#repo-user').val() || config.defaultRepo.repoUser
        repoName = auth.$el.find('#repo-name').val() || config.defaultRepo.repoName
        branchName = '' # means default branch

        # First check validity of the new repo details. Do this by attempting
        # to read META-INFO/container.xml, which should exist for all real
