зеркало из https://github.com/mozilla/pjs.git
bug 351460 - Removes print command disabling when a task has focus. patch by ssitter, r1=lilmatt, r2=dmose
This commit is contained in:
Родитель
e7cf00b0ee
Коммит
4add4d7670
|
@ -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" );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче