Skip to content
Snippets Groups Projects
Commit ab7844ae authored by JediKev's avatar JediKev
Browse files

issue: IE White Screen Of Death

This addresses an issue on the forums where clicking to view the ticket as
an Agent in IE 11 throws a white screen of death. This is due to the
shorthand javascript arrow functions in `include/staff/ticket-view.inc.php`.
parent ebf42a40
No related branches found
No related tags found
No related merge requests found
...@@ -1286,12 +1286,12 @@ $(function() { ...@@ -1286,12 +1286,12 @@ $(function() {
$('#collabselection').select2({ $('#collabselection').select2({
width: '350px', width: '350px',
allowClear: true, allowClear: true,
sorter: (data) => { sorter: function(data) {
return data.filter(function (item) { return data.filter(function (item) {
return !item.selected; return !item.selected;
}); });
}, },
templateResult: (e) => { templateResult: function(e) {
var $e = $( var $e = $(
'<span><i class="icon-user"></i> ' + e.text + '</span>' '<span><i class="icon-user"></i> ' + e.text + '</span>'
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment