Fix bug where new grader editor would be uneditable

This commit is contained in:
James Wang 2016-04-17 21:30:49 -04:00
parent bc13bdce80
commit dbeb86edbc
No known key found for this signature in database
GPG key ID: 5B80C0B3F263CD5B

View file

@ -237,7 +237,7 @@ app.controller("adminProblemsController", ["$controller", "$scope", "$http", fun
]
};
var editor = new EpicEditor({
container: "new_grader",
container: problem.pid + "_grader",
theme: {
base: "https://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/themes/base/epiceditor.css",
preview: "https://cdnjs.cloudflare.com/ajax/libs/epiceditor/0.2.2/themes/preview/github.css",