Force user accounts to be listed first in tooltip, looks like some times they got put last instead

This commit is contained in:
nathangray 2016-09-02 08:21:57 -06:00
parent 78593797c9
commit 064b51bab2

View File

@ -502,13 +502,17 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
cat.destroy();
}
var participants = '';
if(this.options.value.participant_types[''])
{
participants += this.options.value.participant_types[''].join("<br />");
}
for(var type_name in this.options.value.participant_types)
{
if(type_name)
{
participants += '</p><p><span class="calendar_calEventLabel">'+type_name+'</span>:<br />';
participants += this.options.value.participant_types[type_name].join("<br />");
}
participants += this.options.value.participant_types[type_name].join("<br />");
}
return '<div class="calendar_calEventTooltip ' + this._status_class() +' '+ this.options.class +