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
@ -261,7 +261,7 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
{
|
{
|
||||||
var label = jQuery('<span>').text(item.label);
|
var label = jQuery('<span>').text(item.label);
|
||||||
if (typeof item.title != 'undefined') label.attr('title', item.title);
|
if (typeof item.title != 'undefined') label.attr('title', item.title);
|
||||||
|
|
||||||
return label;
|
return label;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -572,6 +572,7 @@ var et2_taglist_email = et2_taglist.extend(
|
|||||||
var label = jQuery('<span>').text(item.label);
|
var label = jQuery('<span>').text(item.label);
|
||||||
if (item.class) label.addClass(item.class);
|
if (item.class) label.addClass(item.class);
|
||||||
if (typeof item.title != 'undefined') label.attr('title', item.title);
|
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');
|
if (!valid) label.addClass('ui-state-error');
|
||||||
|
|
||||||
return label;
|
return label;
|
||||||
|
Loading…
Reference in New Issue
Block a user