MarkUsProject/Markus — pull request #727 by seanbud (2012-03-18 22:29:16+00:00)
Title: Issue 651

This issue was to add a navigational warning if a user has unfinished changes made to a form .

extracted the navigation warnings from app/views/submissions/_submission_warning.js.erb

to a new file: app/views/shared/_navigation_warning.js.erb

Then i implimented this new javascript file in several locations:

app/views/assignments/_form.html.erb -- new/edit assignment page
app/views/notes/edit.html.erb -- edit a note
app/views/notes/new.html.erb -- create a new note