the javascript is being printed out instead of executed. any reason why it would be doing this? I click add new task and I get this:

TodoList.add_incomplete_list();
$('.todolist.incomplete').append('<li class="task" id="task-2"><input type="checkbox" name="task-2" />new task title</li>');
$('#task-2').each(TodoList.add_nub).each(TodoList.bind_task).Highlight(1000, '#ff0');
$('.todolist.incomplete').SortableAddItem($('#task-2').get(0));

Comments

marvil07’s picture

Title: javascript getting printed out » move js out of module file
Version: 5.x-1.x-dev » 6.x-1.x-dev
Category: bug » feature

since I notice that I'm trying to getting js out of module file, so I hope it happens AFAP