bug 351460 - Removes print command disabling when a task has focus. patch by ssitter, r1=lilmatt, r2=dmose

This commit is contained in:
mattwillis%gmail.com 2006-09-14 21:15:34 +00:00
parent 95b710b5a4
commit c709bbae69

View File

@ -238,15 +238,12 @@ function unifinderMouseDownToDo( event )
{
// TODO HACK notifiers should be rewritten to integrate events and todos
document.getElementById( "delete_todo_command" ).removeAttribute( "disabled" );
document.getElementById( "print_command" ).setAttribute( "disabled", "true" );
} else
{
tree.view.selection.clearSelection();
// TODO HACK notifiers should be rewritten to integrate events and todos
document.getElementById( "delete_todo_command" ).setAttribute( "disabled", "true" );
// printing tasks not supported
document.getElementById( "print_command" ).setAttribute( "disabled", "true" );
}
}