AppStateESS / InternshipInventory

Web app for tracking and approving student internships.
http://appstateess.github.io/InternshipInventory/
GNU General Public License v3.0
10 stars 22 forks source link

Generate contract before save causes data loss #236

Closed jlbooker closed 8 years ago

jlbooker commented 8 years ago

It's easy to cause form data to be lost while editing an internship if a user clicks the 'Generate Contract' button before clicking the 'Save' button.

Steps to reproduce:

  1. Create a new internship, or search and select an existing one.
  2. Enter a bunch of data in the form fields or make modifications
  3. Click 'Generate Contract'
  4. Notice the PDF that is displayed is missing your changes.
  5. Click the browser's back button.
  6. Cry because your changes are gone...