<commit_before><% attrs = ajax ? {:remote => true, :'data-type' => "json"} : {} %>
<% show_timer = current_user.option_tracktime.to_i == 1 && !(@current_sheet && @current_sheet.task) && controller.class == TasksController %>

<%= form_tag({ :action => 'update', :id => @task}, { :multipart => "true", :id => "taskform", :method => :put }.merge(attrs)) do -%>
  <%= render_task_form(show_timer) %>
<% end %>

<%= javascript_tag "ajax_update_task_callback();" if ajax %>
<%= render(:partial=> 'worktime_dialog') %>

<% if show_timer %>
<script type="text/javascript">
  jQuery(document).ready(function() {
    window.taskTimer = new jobsworth.tasks.TaskTimer();
  })
</script>
<% end %>
<commit_msg>Removendo javascript inutil que fazia as coisas darem problema<commit_after><% attrs = ajax ? {:remote => true, :'data-type' => "json"} : {} %>
<% show_timer = current_user.option_tracktime.to_i == 1 && !(@current_sheet && @current_sheet.task) && controller.class == TasksController %>

<%= form_tag({ :action => 'update', :id => @task}, { :multipart => "true", :id => "taskform", :method => :put }.merge(attrs)) do -%>
  <%= render_task_form(show_timer) %>
<% end %>

<%= render(:partial=> 'worktime_dialog') %>

<% if show_timer %>
<script type="text/javascript">
  jQuery(document).ready(function() {
    window.taskTimer = new jobsworth.tasks.TaskTimer();
  })
</script>
<% end %>

{'fraction_non_alphanumeric': 0.22141823444283648, 'fraction_numerical': 0.001447178002894356, 'mean_word_length': 5.257918552036199, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 40, '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': '4650701', 'n_tokens_mistral': 507, 'n_tokens_neox': 464, 'n_words': 94}