Fix: typing test menu - button icon bug

This commit is contained in:
2018-12-12 18:25:35 +09:00
parent 95ad63cb33
commit edbd4743af
2 changed files with 23 additions and 2 deletions
+21
View File
@@ -399,6 +399,27 @@ DBConnectManager.prototype.requestAppRanking = function(maestroID, appID, onSucc
);
}
DBConnectManager.prototype.requestLicenseTimeData = function(maestroID, playerID, defaultStartTime, onSucceededListener, onFailedListener) {
var xhr = new XMLHttpRequest();
xhr.open("POST", this.phpPath + "server/license_timer/get_license_time_data.php", true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = function() {
if(xhr.readyState == 4 && xhr.status == 200) {
var replyJSON = JSON.parse(xhr.responseText);
if(replyJSON != null)
onSucceededListener(replyJSON);
else
onFailedListener(replyJSON);
}
};
xhr.send(
"MaestroID=" + maestroID
+ "&PlayerID=" + playerID
+ "&DefaultStartTime=" + defaultStartTime
);
}
DBConnectManager.prototype.loadTempPlayerHistory = function(historyRecordManager) {
historyRecordManager.push(new HistoryRecord("05/14", "space_invaders", 14460));