mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-07-15 22:05:20 +02: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:
@ -74,6 +74,21 @@ var et2_calendar_owner = (function(){ "use strict"; return et2_taglist_email.ext
|
|||||||
return true;
|
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()
|
getValue: function()
|
||||||
{
|
{
|
||||||
if(this.taglist == null) return null;
|
if(this.taglist == null) return null;
|
||||||
|
Reference in New Issue
Block a user