Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 15018f7

Browse files
committed
get runlog as json, by visiting /runlog.json
1 parent 80da002 commit 15018f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runestone/common/js/runestonebase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ RunestoneBase.prototype.logRunEvent = function (eventInfo) {
4949
eventInfo.save_code = "True"
5050
}
5151
if (eBookConfig.useRunestoneServices && eBookConfig.logLevel > 0) {
52-
jQuery.post(eBookConfig.ajaxURL + 'runlog', eventInfo) // Log the run event
52+
jQuery.post(eBookConfig.ajaxURL + 'runlog.json', eventInfo) // Log the run event
5353
.done((function(data, status, whatever) {
54-
data = JSON.parse(data);
54+
// data = JSON.parse(data);
5555
if (data.message) {
5656
alert(data.message);
5757
}

0 commit comments

Comments
 (0)