app/views/works/_row.rhtml in backlog-0.29.0 vs app/views/works/_row.rhtml in backlog-0.30.0
- old
+ new
@@ -65,11 +65,11 @@
<td align="left">
<%=render :partial => 'row_field', :locals => {:field => 'completed_at_time',
:next_field => 'hours_time', :next_row_id => next_row_id, :previous_row_id => previous_row_id} %>
</td>
<td align="right">
- <% remote_form_for :work, :url => {:action => :update_row, :id => @work.id, :next_field => :invoice} do |f|%>
+ <% remote_form_for :work, :url => {:action => :update_row, :id => @work.id, :next_field => :task_id} do |f|%>
<%=f.text_field :hours_time, :value => (@work.hours && @work.hours > 0 ? t(@work.hours) : ''), :id => "work_#{@work.id}_hours_time", :class => 'task_hours',
:onkeypress => "
if(event.keyCode == 40) {
e = $('work#{"_#{next_row_id}" if next_row_id}_hours_time');
e.focus();
@@ -77,10 +77,10 @@
} else if(event.keyCode == 38) {
e = $('work#{"_#{previous_row_id}" if previous_row_id}_hours_time');
e.focus();
e.select();
}",
- :onchange => "new Ajax.Request('/works/update_row/#{@work.id}?next_field=invoice', {asynchronous:true, evalScripts:true, parameters:Form.serialize(form)})"%>
+ :onchange => "new Ajax.Request('/works/update_row/#{@work.id}?next_field=task_id', {asynchronous:true, evalScripts:true, parameters:Form.serialize(form)})"%>
<% end %>
</td>
<td align="right">
<% remote_form_for :work, :url => {:action => :update_row, :id => @work.id, :next_field => :invoice} do |f|%>
<%=text_field_with_auto_complete "work_#{@work.id}", :task_id,