Skip to content
Snippets Groups Projects

Flashcards revisited

Merged Andreas Gärtner requested to merge flashcards-revisited into master
Viewing commit 26d09ede
Show latest version
2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -147,10 +147,10 @@ Ext.define("ARSnova.controller.QuestionExport", {
});
},
saveClickQuestionOnFileSystem: function (questionObj) {
saveClickQuestionOnFileSystem: function (questionObj, questionSubject) {
var rawJson = JSON.stringify(questionObj);
var blob = new Blob([rawJson], {type: "text/plain;charset=utf-8"});
this.makeAndClickDownloadLink(blob, "ARSnovaClickQuestion");
var blob = new Blob([rawJson], {type: "application/json;charset=utf-8"});
this.makeAndClickDownloadLink(blob, localStorage.getItem('shortName') + "_" + questionSubject + ".json");
},
parseJsonToCsv: function (records) {