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
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

marvil07 - October 8, 2009 - 20:40
Title:javascript getting printed out» move js out of module file
Version:5.x-1.x-dev» 6.x-1.x-dev
Category:bug report» feature request

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

 
 

Drupal is a registered trademark of Dries Buytaert.