Also save tag from input box which hasn't been added to the list with <Enter>
This commit is contained in:
parent
5cd313f96d
commit
8b3a9262e6
1 changed files with 6 additions and 0 deletions
|
@ -1102,10 +1102,16 @@ function rcube_tasklist_ui(settings)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// collect tags
|
||||||
$('input[type="hidden"]', rcmail.gui_objects.edittagline).each(function(i,elem){
|
$('input[type="hidden"]', rcmail.gui_objects.edittagline).each(function(i,elem){
|
||||||
if (elem.value)
|
if (elem.value)
|
||||||
me.selected_task.tags.push(elem.value);
|
me.selected_task.tags.push(elem.value);
|
||||||
});
|
});
|
||||||
|
// including the "pending" one in the text box
|
||||||
|
var newtag = $('#tagedit-input').val();
|
||||||
|
if (newtag != '') {
|
||||||
|
me.selected_task.tags.push(newtag);
|
||||||
|
}
|
||||||
|
|
||||||
// serialize alarm settings
|
// serialize alarm settings
|
||||||
var alarm = $('#taskedit select.edit-alarm-type').val();
|
var alarm = $('#taskedit select.edit-alarm-type').val();
|
||||||
|
|
Loading…
Add table
Reference in a new issue