Fix input check
This commit is contained in:
parent
76d2b331ed
commit
05f796f891
1 changed files with 1 additions and 1 deletions
|
@ -1061,7 +1061,7 @@ function rcube_tasklist_ui(settings)
|
|||
me.selected_task.attachments = [];
|
||||
|
||||
// do some basic input validation
|
||||
if (!me.selected_task.title || me.selected_task.title.length) {
|
||||
if (!me.selected_task.title || !me.selected_task.title.length) {
|
||||
title.focus();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue