mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Add property "data" into taglist-email for setting extra info into taglist item
This commit is contained in:
parent
657e387526
commit
b8d94441f6
@ -278,7 +278,7 @@ var et2_taglist = et2_selectbox.extend(
|
||||
{
|
||||
var label = jQuery('<span>').text(item.label);
|
||||
if (typeof item.title != 'undefined') label.attr('title', item.title);
|
||||
|
||||
|
||||
return label;
|
||||
},
|
||||
|
||||
@ -589,6 +589,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