implemented autosave, save button is now hidden. there is a label to show the last save timestamp. Code is saved on browser close.

This commit is contained in:
Ralf Teusner
2015-08-12 17:38:34 +02:00
parent e49f0dc063
commit b4527aef50
6 changed files with 49 additions and 4 deletions

View File

@ -2,7 +2,7 @@ class Submission < ActiveRecord::Base
include Context
include Creation
CAUSES = %w(assess download file render run save submit test)
CAUSES = %w(assess download file render run save submit test autosave)
FILENAME_URL_PLACEHOLDER = '{filename}'
belongs_to :exercise