jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
22 lines (16 loc) • 580 B
HTML
<html>
<body>
<div id="j-content"></div>
<script type="text/javascript">
gadgets.util.registerOnLoadHandler(function() {
gadgets.actions.updateAction({
id: "com.jivesoftware.jwdemo.placeSettings", // id from app.xml,
callback: init
});
});
function init(ctx) {
$("#j-content").html('The associated place for this action is '+ctx.jive.content.type + ' / ' + ctx.jive.content.id);
}
</script>
</body>
</html>