[FIX] mail: get_selection_id

Introduced by 4899be001a

opw:672113
This commit is contained in:
Goffin Simon
2016-03-17 09:26:17 +01:00
parent 5c81327a5e
commit c8f751c46e
+1 -1
View File
@@ -243,7 +243,7 @@ var MentionManager = Widget.extend({
},
get_selection_id: function (match, selection) {
var m = match[1][0].slice(1);
var m = match[0].slice(1);
_.each(selection, function (s) {
if(s.name == m){
return s.id;