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 6f980c92db
commit 04c01fc0cc

View File

@ -502,14 +502,18 @@ 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 />");
}
}
return '<div class="calendar_calEventTooltip ' + this._status_class() +' '+ this.options.class +
'" style="border-color: '+border+'; background-color: '+bg_color+';">'+