Commit 6ee586d5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: render shortcut gadget

   It is required to call render on the gadget.
parent 249958c8
......@@ -123,8 +123,15 @@
]));
}
domsugar(gadget.element.querySelector("ul"),
return domsugar(gadget.element.querySelector("ul"),
[domsugar(null, element_list)]);
})
.push(function () {
return gadget.getDeclaredGadget('erp5_panel_shortcut');
})
.push(function (shortcut_gadget) {
// Ensure links are updated
return shortcut_gadget.render({update: 1});
});
}
// Check for Alerts to pop
......
......@@ -255,7 +255,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1001.36662.17855.30088</string> </value>
<value> <string>1002.19336.55332.19763</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -273,7 +273,7 @@
</tuple>
<state>
<tuple>
<float>1657677595.88</float>
<float>1660570147.61</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