teryhill wrote on Tuesday, April 26, 2016:
Has anyone made this modal?
Terry
sunsetsystems wrote on Tuesday, April 26, 2016:
Not sure what you mean.
teryhill wrote on Tuesday, April 26, 2016:
The popup items on the left nav come up as a popup and get lost beind the main screen . I was just wondering if any one had turned them in to modal windows so they would stay on top of the main screen till they were closed. Visual aid attached.
sunsetsystems wrote on Tuesday, April 26, 2016:
I believe at some time in the past dlgopen() worked that way. Don’t know offhand if it got broken with browsers evolving, or was changed on purpose. Someone would have to dig into it and see what’s up.
teryhill wrote on Tuesday, April 26, 2016:
it is used in a lot of places to have gotten broken and no one noticed. Oh well back to digging in this muskeg called OpenEMR.
fsgl wrote on Tuesday, April 26, 2016:
Not really broken because if different modules are open like Patient/Client, Popups has no place to go except up to display the menu.
If there is enough of a lower margin, Popups will have the drop-down menu, displayed downward.
Same behavior observed in other parts of Patient Summary.
tmccormi wrote on Tuesday, April 26, 2016:
fsgl - that is not what Terry is talking about. He means when you select something from that menu it opens is a floating standalone window which can be lost behind the main browser or any other app on the desktop if the user clicks away.
The Modal UI (Fancybox) makes the window tie itself to the main brower page. Here’s the rub. It’s tide to the FRAME it was launched in, so a modal from the left nav would be truncated by the width of the frame.
I would wait on this fix until we move to Kevin’s iframe version …
–Tony
yehster wrote on Wednesday, April 27, 2016:
Update to add the popups to the menu entries in the iframe model is forth coming.
The simplest solution moving forward is that popups will open in a separate tab.