Comments (14)
hi @tywrenn , that was just for the soap form
#3303 (comment)
from openemr.
My thoughts here, are that in the tabs layout, need the following to happen when a user is editing a form:
- Warn of unsaved changes if try to close the tab.
- Warn of unsaved changes if try to open another screen that will overwrite the tab with the form in it.
from openemr.
Agree. But seems the beforeunload handler should trigger in either case? So maybe mostly a matter of finding out why it's not working.
from openemr.
Hi,
Can you post the code as a Pull Request?
thanks,
-brady
from openemr.
I just reviewed this fix. Rather than ask if ok to close the tab (which will become tedious for users), need to incorporate the beforeunload handler in the pertinent forms. To see example, recommend looking at use of this in the openemr/interface/forms/LBF/new.php script.
from openemr.
@sunsetsystems ,
I am only seeing the beforeunload handler being used in the openemr/interface/forms/LBF/new.php script. Were there other places that had a mechanism to prevent losing information in the frames UI?
from openemr.
Yes it was also done for demographics and the layout editor. Commit is here:
364afe2
from openemr.
Hi @rishabhemr can you submit a pull request here on github with those changes for review? Thanks!
from openemr.
This issue has been automatically marked as stale because it has not had any recent activity within the past 90 days. It will be closed in 7 days if no further activity occurs.
from openemr.
Bump -- this should've been added
from openemr.
we're getting closer with #3303
from openemr.
@stephenwaite Looks like that merged -- time to close this
from openemr.
This issue has been automatically marked as stale because it has not had any recent activity within the past 90 days. It will be closed in 7 days if no further activity occurs.
from openemr.
Bump
from openemr.
Related Issues (20)
- C_Prescription.class.php - Added more feature to display drug expiry date and stock available in the drop down menu when prescribing a drug.
- bug: editing insurance company from practice settings 404 not found
- feat: Added option to display no of tablets left in stock, with expiry date, in the drop down menu HOT 4
- bug: getEffectiveInsurances not inspecting date_end
- feat: demographics form default values
- bug: 'None' does not hide 'search by any demographics' field
- feat: Send Prescription Email using Webclient/Native mail program
- feat: Prescriptions Dialog move to twig to allow module writers to extend / modify the view
- bug: jquery-datetimepicker-2-5-4-translated.js creates invalid date format when DateFormatRead is not in window scope
- feat: Extract Weight Loss Clinic Customizations into module
- bug: default x12 partner not selected in billing manager HOT 1
- bug: Create users breaks when more than one user has an empty email address for Google Email For Login
- Fax No Content error
- bug: Eye Form throws javascript errors on load and when closing prescription window
- Fax: 400 bad request response from HOT 1
- feat: Convert Dicom Viewer to Twig for Module writers to extend / overwrite
- bug: Document Uploader when editing document properties shows a stray html tag on success message
- CCDA Service configuration failing HOT 2
- Improve Bulk Data Generation
- Stuck on Step 3 but table is generated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openemr.