Commit 8ae3c86e authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Display document title

parent b8607c3a
...@@ -229,6 +229,7 @@ ...@@ -229,6 +229,7 @@
return jio_gadget.get({"_id": jio_key}, {"_view": view});\n return jio_gadget.get({"_id": jio_key}, {"_view": view});\n
})\n })\n
.push(function (result) {\n .push(function (result) {\n
document.querySelector("h1").textContent = result.data.title || result.data.reference || options.jio_key;\n
var uri = new URI(\n var uri = new URI(\n
result.data._embedded._view._links.form_definition.href\n result.data._embedded._view._links.form_definition.href\n
);\n );\n
......
4 5
\ No newline at end of file \ No newline at end of file
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