mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Only show invalid formatting if we allow free entries, this lets calendar fetch any unknown owners in favorites from the server instead of removing them as invalid.
This commit is contained in:
parent
d890f4f1a2
commit
4603bee75a
@ -74,6 +74,21 @@ var et2_calendar_owner = (function(){ "use strict"; return et2_taglist_email.ext
|
||||
return true;
|
||||
},
|
||||
|
||||
selectionRenderer: function(item)
|
||||
{
|
||||
if(this.options.allowFreeEntries)
|
||||
{
|
||||
return this._super.apply(this,arguments);
|
||||
}
|
||||
else
|
||||
{
|
||||
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);
|
||||
return label;
|
||||
}
|
||||
},
|
||||
getValue: function()
|
||||
{
|
||||
if(this.taglist == null) return null;
|
||||
|
Loading…
Reference in New Issue
Block a user