diff options
author | Patrick Simianer <p@simianer.de> | 2015-12-11 17:06:50 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-12-11 17:06:50 +0100 |
commit | c273faedee7b0c73945dfd8fdab15d655b6c4f3a (patch) | |
tree | 03024cde8ff1c622a2a2f23d70696411b0af8847 /server.rb | |
parent | 7c179958222b95939ff1881a49126e08a38d489e (diff) |
save original view as svg
Diffstat (limited to 'server.rb')
-rwxr-xr-x | server.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -241,6 +241,7 @@ post '/next' do # (receive post-edit, update models), send next translation $db['feedback'] << reply $db['post_edits_raw'] << post_edit $db['svg'] << data['svg'] + $db['original_svg'] << data['original_svg'] $db['durations'] << data['duration'].to_f $db['post_edits_display'] << send_recv(:detokenizer, post_edit) # 1. tokenize @@ -480,6 +481,7 @@ get '/reset_progress' do # reset current session $db['derivations'].clear $db['derivations_proc'].clear $db['svg'].clear + $db['original_svg'].clear $db['feedback'].clear $db['progress'] = -1 update_database true |