Fix selecting tags from autocompletion (#1329)
This commit is contained in:
parent
3b913e15d3
commit
032353e221
2 changed files with 2 additions and 2 deletions
|
@ -455,7 +455,7 @@
|
|||
// If there is an entry for that already in the autocomplete, don't use it (Check could be case sensitive or not)
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
var label = typeof result[i] == 'string' ? result[i] : result[i].label;
|
||||
if (options.checkNewEntriesCaseSensitive == true)
|
||||
if (options.checkNewEntriesCaseSensitive == false)
|
||||
label = label.toLowerCase();
|
||||
if (label == compareValue) {
|
||||
isNew = false;
|
||||
|
|
|
@ -1077,7 +1077,7 @@ function rcube_tasklist_ui(settings)
|
|||
}
|
||||
}
|
||||
|
||||
$('input[name="tags[]"]', rcmail.gui_objects.edittagline).each(function(i,elem){
|
||||
$('input[type="hidden"]', rcmail.gui_objects.edittagline).each(function(i,elem){
|
||||
if (elem.value)
|
||||
me.selected_task.tags.push(elem.value);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue