From e7e7ae72bacf34029f7543fe69b122706d9e09c6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 28 May 2014 21:39:34 +0000 Subject: [PATCH] Encoding: decode encoded titles Related to the last commit, forgot to decode titles --- public/js/icinga/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 3ed006eae..1d22639d2 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -341,7 +341,7 @@ var title = req.getResponseHeader('X-Icinga-Title'); if (title && ! req.autorefresh && req.$target.closest('.dashboard').length === 0) { - this.icinga.ui.setTitle(title); + this.icinga.ui.setTitle(decodeURIComponent(title)); } var refresh = req.getResponseHeader('X-Icinga-Refresh');