Merge pull request #2302 from jyruzicka/fix-2220

#2220: Use @original_item over other @original_item like instance variables
This commit is contained in:
Matt Rogers 2019-12-22 10:14:17 -06:00 committed by GitHub
commit b01f027d8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 51 deletions

View file

@ -12,7 +12,7 @@
function show_empty_messages() {
<% if @old_due_empty -%>
$('#empty_<%=@original_item_due_id%>').slideDown(1000);
$('#empty_<%=get_due_id_for_calendar(@original_item.due)%>').slideDown(1000);
<% end -%>
<% if todo_container_is_empty -%>