listItem.dataset.instructionId = instructionId.toString();
listItem.dataset.application = instructionData.application;
listItem.dataset.pip = instructionData.pip;
- listItem.dataset.runStandalone = instructionData.runStandalone ? "true" : "false";
+ listItem.dataset.runStandalone = instructionData.runStandalone ? "1" : "0";
listItem.dataset.value = instructionData.value;
let content = `
listItem.dataset.instructionId = instructionId.toString();
listItem.dataset.application = instructionData.application;
listItem.dataset.pip = instructionData.pip;
- listItem.dataset.runStandalone = instructionData.runStandalone ? "true" : "false";
+ listItem.dataset.runStandalone = instructionData.runStandalone ? "1" : "0";
listItem.dataset.value = instructionData.value;
let content = `
<div class="sortableNodeLabel">
foreach ($instructions['instructions'] as $instruction) {
$attributes = ['type' => $instruction['pip']];
- if (!empty($instruction['runStandalone'])) {
+ if (!isset($instruction['runStandalone']) && $instruction['runStandalone'] !== "0") {
$attributes['run'] = 'standalone';
}
if (!empty($instruction['application'])) {
);
}
}
- } else if (
+ } elseif (
isset($this->packageXmlData[$information])
&& $this->packageXmlData[$information] !== ""
) {