when setting global use ajax.
in page "/InboundView/01H4DY67JTQDEDXT005TNEZ96Y?showdetail=inbound_doc,inbound_item_set,inbound_item,inbound_item_return"
----> not modal
list option(edit,view ----> modal link) for detail page(inbound_doc,inbound_item_set,inbound_item,inbound_item_return) Can't use(The meaning is that when that button is pressed Nothing happened on the inspector(network) page. Nothing was loaded.).
When searching for the code in the ew.js file, I found that if I delete some of the code will be able to use
else if (action == "modal") {
e.preventDefault();
return data.ajax ? ew.inlineAction({
evt: e,
...data
}) : ew.modalDialogShow({
evt: e,
...data
});
}
delete code
else if (action == "modal") {
e.preventDefault();
return ew.modalDialogShow({
evt: e,
...data
});
}