        if (currentValue != previousValue) {
          updateTodo($(this).parent().parent());
          updateTodoList($(this).parent().parent());
        }
      });
    }

    $(document).ready(function () {

      "use strict";

      prepareTodoList();
    });
  </script>

  {% comment %} Generate modals for displaying the scope lists {% endcomment %}
  {% for list in project.projectscope_set.all %}
    <div class="modal" id="id_scope_{{ list.id }}" tabindex="-1" role="dialog"
         aria-labelledby="