Hi everyone,
I have a view where, on clicking a button, a confirmation popup (Yes/No) is supposed to appear.
When I open the view in Session mode, the popup shows correctly.
But when I open it in Design mode, the popup does not appear.
Can anyone help me understand why this happens or how to fix it?
Thanks in advance!
def runAction(self, event):
rowData = self.view.params.rowData
prodid = rowData["PRODID"]["value"]
dataareaid =rowData["DATAAREAID"]["value"]
vpause=rowData["INPAUSE"]["value"]
msg = "Confirmation?"
iconPath = "material/warning"
# Open popup
system.perspective.openPopup(
"PopupConfirm_UPDATEORDER",
view="templates/PopupConfirm_UPDATEORDER",
params={
"message": msg,
"icon": iconPath,
"callerID": "updateoncall_playbtn",
"prodid": prodid,
"dataareaid": dataareaid,
"vpause":vpause
},
title="Conferma",
modal=True,
draggable=False,
resizable=False,
showCloseIcon=True
)