<commit_before>- if @status == 'render_all'
  = render 'ajax_view_update'
- elsif @status == 'js_update'
  $('div[data-ali="#{@activity_line_item.object_key}"]').hide();
  - if CapitalProject.find_by(id: @capital_project.id).nil?
    $('tr[data-project="#{@capital_project.object_key}"]').hide();

  // update fiscal year sum
  var old_fy_sum = parseInt($("#fy-sum-#{@old_ali_fy}").data('cost'));
  var new_val = old_fy_sum - parseInt("#{@ali_cost}");
  $("#fy-sum-#{@old_ali_fy}").html(number_to_currency(new_val));
  $("#fy-sum-#{@old_ali_fy}").data('cost', new_val);

  = render :partial => 'move_ali_assets', locals: { alis: @new_alis }
  $('.transam-tooltip').tooltip();
- elsif @status == 'job'
  $(".draggable").draggable({ disabled: true });
  $(".drop-target").droppable({ disabled: true });
  $(".ali_actions").attr('disabled','disabled');

- if @message.present?
  transam.show_flash_message("#{raw escape_javascript( @message )}", "#{raw escape_javascript( @alert_class )}");<commit_msg>Remove js partial invalid comment as IE11 cant parse it [fixes#135695253]<commit_after>- if @status == 'render_all'
  = render 'ajax_view_update'
- elsif @status == 'js_update'
  $('div[data-ali="#{@activity_line_item.object_key}"]').hide();
  - if CapitalProject.find_by(id: @capital_project.id).nil?
    $('tr[data-project="#{@capital_project.object_key}"]').hide();

  var old_fy_sum = parseInt($("#fy-sum-#{@old_ali_fy}").data('cost'));
  var new_val = old_fy_sum - parseInt("#{@ali_cost}");
  $("#fy-sum-#{@old_ali_fy}").html(number_to_currency(new_val));
  $("#fy-sum-#{@old_ali_fy}").data('cost', new_val);

  = render :partial => 'move_ali_assets', locals: { alis: @new_alis }
  $('.transam-tooltip').tooltip();
- elsif @status == 'job'
  $(".draggable").draggable({ disabled: true });
  $(".drop-target").droppable({ disabled: true });
  $(".ali_actions").attr('disabled','disabled');

- if @message.present?
  transam.show_flash_message("#{raw escape_javascript( @message )}", "#{raw escape_javascript( @alert_class )}");
{'fraction_non_alphanumeric': 0.23103448275862068, 'fraction_numerical': 0.00541871921182266, 'mean_word_length': 5.955479452054795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '914438', 'n_tokens_mistral': 744, 'n_tokens_neox': 744, 'n_words': 112}