Small fixes for IE browsers

This commit is contained in:
Thomas Bruederli 2013-10-24 19:17:48 +02:00
parent 21a9637fda
commit 8b6c9a9eda

View file

@ -585,7 +585,7 @@ function rcube_tasklist_ui(settings)
helper: tag_draggable_helper,
start: tag_draggable_start,
appendTo: 'body',
cursor: 'pointer',
cursor: 'pointer'
});
});
@ -1073,7 +1073,7 @@ function rcube_tasklist_ui(settings)
// append inherited tags
if (itags.length) {
$.each(itags, function(i,val){
if (!rec.tags || rec.tags.indexOf(val) < 0)
if (!rec.tags || $.inArray(val, rec.tags) < 0)
$('<span>').addClass('tag-element inherit').html(Q(val)).appendTo(taglist);
});
// re-sort tags list