move js out of module file
brettev - October 22, 2008 - 03:53
| Project: | Todolist |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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));
#1
since I notice that I'm trying to getting js out of module file, so I hope it happens AFAP