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
Родитель e7cf00b0ee
Коммит 4add4d7670
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

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