From aead9f4ff43ea79107e2b870ab49fcf2f3fd7a0d Mon Sep 17 00:00:00 2001 From: Remi Bergsma Date: Thu, 7 Apr 2016 21:57:17 +0200 Subject: [PATCH] When no zone name is available display a default Backport from Cosmic --- ui/scripts/templates.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index c8c5b89df25..0e24c0b4861 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -1427,6 +1427,9 @@ jsonObj.xenserverToolsVersion61plus = false; } } + if (!'zonename' in jsonObj) { + jsonObj.zonename = 'All Zones'; + } } args.response.success({