7c986f2de7
fixed problem that no new files could be added to an exercise
2017-03-21 17:35:46 +01:00
b0ceeea650
fix retrieval of relative_url_root also for other calls.
2016-10-28 17:22:31 +02:00
accf0550d7
reworked the exercise edit dialog. Moved javascript part from editor_edit.js.erb to exercises.js.erb.
...
Manipulated some further javascript as necessary. It is not super elegant, but this is due to the former structure of the code which uses cloned dummy forms.
Integrating the ace editor made some strange calls necessary.
Also fixed toggling the input area and the file upload dialog
2016-10-12 16:35:21 +02:00
59119e43d5
added relative_url_root to some more javascript calls (ace file path, file template path).
2016-10-06 16:32:20 +02:00
58dac37d77
added relative_url_root to URL for websocket call, needed for staging server
2016-10-06 16:14:51 +02:00
f1de18141a
refactored JavaScript code not to use inline Ruby evaluation
2015-03-12 09:13:38 +01:00
ff81b27fc0
removed code duplication
2015-03-10 18:27:05 +01:00
3ae749bfc5
extended execution environments by a default file type that is used as the default for associated exercises' files
2015-03-10 18:14:26 +01:00
8ef0e92914
infer file type from uploaded file
2015-03-10 11:20:48 +01:00