From 04c01fc0cc09c3c9ffba59aa51d41892b34ea1ff Mon Sep 17 00:00:00 2001
From: nathangray
Date: Fri, 2 Sep 2016 08:21:57 -0600
Subject: [PATCH] Force user accounts to be listed first in tooltip, looks like
some times they got put last instead
---
calendar/js/et2_widget_event.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js
index aca66c517b..513b809b66 100644
--- a/calendar/js/et2_widget_event.js
+++ b/calendar/js/et2_widget_event.js
@@ -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("
");
+ }
for(var type_name in this.options.value.participant_types)
{
if(type_name)
{
participants += '
'+type_name+':
';
+ participants += this.options.value.participant_types[type_name].join("
");
}
- participants += this.options.value.participant_types[type_name].join("
");
}
return '