<commit_before>:javascript
  $(function() {
    $("#photo_image").html5_upload({
      // WE INSERT ALBUM_ID PARAM HERE
      url: "/photos?album_id=#{@album.id}",   
      sendBoundary: window.FormData || $.browser.mozilla,
      setName: function(text) {
        $("#progress_report_name").text(text);
      },
      onFinish: function(event, total){
        $("#add_photo_button").html( "Add Photos" );
        $("#add_photo_loader").fadeOut(400);

        $("#photo_title_status").text("Done!");
        $("#progress_report").html("Good job me!");

        $("#add_photo_button").addClass("uploading_complete");
       },
      onStart: function(event, total){
        $("#add_photo_button").html( "Uploading Photos" );
        $("#add_photo_loader").fadeIn(400);

        $("form").fadeOut(0);
        $("#progress_report").fadeIn(0);
        $("#photo_title_status").text("Uploading...");
        return true;
      }
    });
  });<commit_msg>Fading out every form tag on photo upload was a bad idea<commit_after>:javascript
  $(function() {
    $("#photo_image").html5_upload({
      // WE INSERT ALBUM_ID PARAM HERE
      url: "/photos?album_id=#{@album.id}",   
      sendBoundary: window.FormData || $.browser.mozilla,
      setName: function(text) {
        $("#progress_report_name").text(text);
      },
      onFinish: function(event, total){
        $("#add_photo_button").html( "Add Photos" );
        $("#add_photo_loader").fadeOut(400);

        $("#photo_title_status").text("Done!");
        $("#progress_report").html("Good job me!");

        $("#add_photo_button").addClass("uploading_complete");
       },
      onStart: function(event, total){
        $("#add_photo_button").html( "Uploading Photos" );
        $("#add_photo_loader").fadeIn(400);

        $("form.new_photo").fadeOut(0);
        $("#progress_report").fadeIn(0);
        $("#photo_title_status").text("Uploading...");
        return true;
      }
    });
  });
{'fraction_non_alphanumeric': 0.1973347001537673, 'fraction_numerical': 0.009226037929267043, 'mean_word_length': 2.9434343434343435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3929512', 'n_tokens_mistral': 615, 'n_tokens_neox': 598, 'n_words': 91}