[Web] Fix null ua in debug.js - fixes #2615
parent
45359bb6cf
commit
5bb23a2664
|
@ -524,6 +524,9 @@ jQuery(function($){
|
||||||
});
|
});
|
||||||
} else if (table == 'autodiscover_log') {
|
} else if (table == 'autodiscover_log') {
|
||||||
$.each(data, function (i, item) {
|
$.each(data, function (i, item) {
|
||||||
|
if (item.ua == null) {
|
||||||
|
item.ua = 'unknown';
|
||||||
|
}
|
||||||
item.ua = '<span style="font-size:small">' + item.ua + '</span>';
|
item.ua = '<span style="font-size:small">' + item.ua + '</span>';
|
||||||
if (item.service == "activesync") {
|
if (item.service == "activesync") {
|
||||||
item.service = '<span class="label label-info">ActiveSync</span>';
|
item.service = '<span class="label label-info">ActiveSync</span>';
|
||||||
|
|
Loading…
Reference in New Issue