From 238095c14235976ac92b15533f6ec74f5513232c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 10 Oct 2016 18:56:40 +0200 Subject: [PATCH] Add warning for ad-blockers in vm log tab --- src/sunstone/public/app/tabs/vms-tab/panels/log.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/vms-tab/panels/log.js b/src/sunstone/public/app/tabs/vms-tab/panels/log.js index 9f7e3c2255..38045209b7 100644 --- a/src/sunstone/public/app/tabs/vms-tab/panels/log.js +++ b/src/sunstone/public/app/tabs/vms-tab/panels/log.js @@ -96,7 +96,15 @@ define(function(require) { }, error: function(request, error_json) { - $('.vm_log_container', context).html(''); + $('.vm_log_container', context).html( + '
' + + '
' + + '
' + + ' '+Locale.tr("Some ad-block extensions are known to filter the '/log?id=' URL")+'' + + '
' + + '
' + + '
'); + Notifier.onError(request, error_json); } });