mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 13:10:58 +01:00
Add property "data" into taglist-email for setting extra info into taglist item
This commit is contained in:
parent
de4a3d90c7
commit
b53405c973
@ -572,6 +572,7 @@ var et2_taglist_email = et2_taglist.extend(
|
||||
var label = jQuery('<span>').text(item.label);
|
||||
if (item.class) label.addClass(item.class);
|
||||
if (typeof item.title != 'undefined') label.attr('title', item.title);
|
||||
if (typeof item.data != 'undefined') label.attr('data', item.data);
|
||||
if (!valid) label.addClass('ui-state-error');
|
||||
|
||||
return label;
|
||||
|
Loading…
Reference in New Issue
Block a user