Commit 07b5e0ea authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fixup typo

  Drop non required new line (it will be added anyway).
parent 114d59fa
......@@ -108,7 +108,7 @@
'parameter' : {
'json_url': doc.url_string.split('?')[0] + ".json",
//'json_url': "https://lab.node.vifib.com/nexedi/slapos/raw/master/software/kvm/software.cfg.json",
'parameter_hash': btoa('<?xml version="1.0" encoding="utf-8" ?><instance></instance>'),
'parameter_hash': btoa('<?xml version="1.0" encoding="utf-8" ?><instance/>'),
'restricted_softwaretype': false
}
};
......
......@@ -279,7 +279,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.45437.22132.61764</string> </value>
<value> <string>999.2068.62564.17</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -297,7 +297,7 @@
</tuple>
<state>
<tuple>
<float>1602158386.55</float>
<float>1652724671.12</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -11,7 +11,7 @@
function jsonDictToParameterXML(json) {
var parameter_id,
xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?>\n<instance />'));
xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?><instance />'));
// Used by serialisation XML
for (parameter_id in json) {
if (json.hasOwnProperty(parameter_id)) {
......@@ -28,7 +28,7 @@
}
function jsonDictToParameterJSONInXML(json) {
var xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?>\n<instance />'));
var xml_output = $($.parseXML('<?xml version="1.0" encoding="UTF-8" ?><instance />'));
// Used by serialisation XML
$('instance', xml_output).append(
$('<parameter />', xml_output)
......@@ -46,7 +46,7 @@
selected: (default_value === undefined)
})],
option_index,
selected,
selected,
is_selected = (default_value === undefined),
data_format = "string";
......@@ -66,7 +66,7 @@
value: json_field['enum'][option_index],
text: json_field['enum'][option_index],
"data-format": data_format,
selected: true
selected: selected
}));
}
}
......
......@@ -280,7 +280,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1000.14042.12571.63982</string> </value>
<value> <string>1000.18191.48252.54374</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -298,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>1652712920.56</float>
<float>1652724487.39</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment