Commit 972dcd19 by Roque

erp5_web_project_ui: fix error when no web page

parent c90f2131
......@@ -49,7 +49,7 @@ lockGadgetInQueue, unlockGadgetInQueue*/
select_list: ['text_content']
.push(function (result_list) {
if ( {
if ([0]) {
id =[0].id;
content =[0].value.text_content;
return gadget.jio_getAttachment(id, "links")
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 sign in to comment