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 = [];
|
me.selected_task.attachments = [];
|
||||||
|
|
||||||
// do some basic input validation
|
// 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();
|
title.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue