Trouble with "New Event" Button on calendar since 9.97
Posted: Thu Mar 30, 2017 4:09 pm
Hi John and Team!
We have been using DayBack Calendar with our electronic medical record (EMR) for a couple of years. It's linked (not embedded). We had been using version 9.92 until today with no problems. Today, I updated to 9.97, and followed the instructions here: viewtopic.php?f=40&t=4349. After that, we were unable to create a new event from the calendar. When I clicked the green "+" button, a new event appeared, titled "New Event," but I was unable to edit it, and it disappeared as soon as I refreshed.
Until today, with 9.92 and all previous versions, clicking the green "+" button would open a new event mini-window from our database (EMR) file. Clicking that green "+" button appeared to launch the script "Show Event Details from Webviewer" - and we had modified that script so that it created the new event in our EMR.
But now (with 9.97) it appears that clicking the green "+" button launches a different script, "Submit Event from Webviewer."
Reviewing that script, it looked like the problem might reside in the "Create Edit Delete Event ( SourceNo, Operation ) { Hide, DateStart , DateEnd , TimeStart ... }" script.
So I made one modification to that script: I disabled the following "If" statement: "IF [$sc_Hide ≠ "Yes"].
Now everything seems to work ok...but I'm not sure why .
So...I'm hoping you can help me understand if this is a stable solution to the problem. Thanks in advance!
We have been using DayBack Calendar with our electronic medical record (EMR) for a couple of years. It's linked (not embedded). We had been using version 9.92 until today with no problems. Today, I updated to 9.97, and followed the instructions here: viewtopic.php?f=40&t=4349. After that, we were unable to create a new event from the calendar. When I clicked the green "+" button, a new event appeared, titled "New Event," but I was unable to edit it, and it disappeared as soon as I refreshed.
Until today, with 9.92 and all previous versions, clicking the green "+" button would open a new event mini-window from our database (EMR) file. Clicking that green "+" button appeared to launch the script "Show Event Details from Webviewer" - and we had modified that script so that it created the new event in our EMR.
But now (with 9.97) it appears that clicking the green "+" button launches a different script, "Submit Event from Webviewer."
Reviewing that script, it looked like the problem might reside in the "Create Edit Delete Event ( SourceNo, Operation ) { Hide, DateStart , DateEnd , TimeStart ... }" script.
So I made one modification to that script: I disabled the following "If" statement: "IF [$sc_Hide ≠ "Yes"].
Now everything seems to work ok...but I'm not sure why .
So...I'm hoping you can help me understand if this is a stable solution to the problem. Thanks in advance!