whitespace cleanup

Signed-off-by: Tim Marx <t.marx@proxmox.com>
This commit is contained in:
Tim Marx 2019-12-10 14:04:27 +01:00 committed by Thomas Lamprecht
parent 8c0f75259d
commit 87ec83f4b8

View File

@ -196,21 +196,21 @@ Ext.onReady(function() {
if (!rtype) if (!rtype)
rtype = 'object'; rtype = 'object';
var returnhtml; var returnhtml;
if (retinf.items) { if (retinf.items) {
returnhtml = '<pre>items: ' + Ext.htmlEncode(JSON.stringify(retinf.items, null, 4)) + '</pre>'; returnhtml = '<pre>items: ' + Ext.htmlEncode(JSON.stringify(retinf.items, null, 4)) + '</pre>';
} }
if (retinf.properties) { if (retinf.properties) {
returnhtml = returnhtml || ''; returnhtml = returnhtml || '';
returnhtml += '<pre>properties:' + Ext.htmlEncode(JSON.stringify(retinf.properties, null, 4)) + '</pre>'; returnhtml += '<pre>properties:' + Ext.htmlEncode(JSON.stringify(retinf.properties, null, 4)) + '</pre>';
} }
sections.push({ sections.push({
title: 'Returns: ' + rtype, title: 'Returns: ' + rtype,
bodyPadding: 10, bodyPadding: 10,
html: returnhtml html: returnhtml
}); });
} }
var permhtml = ''; var permhtml = '';