Fix: db_connect_manager - requestPlayerHistory parameters
This commit is contained in:
@@ -200,7 +200,7 @@ DBConnectManager.prototype.requestTypingTestAppList = function(maestroID, player
|
||||
xhr.send("maestro_id=" + maestroID + "&player_id=" + playerID);
|
||||
}
|
||||
|
||||
DBConnectManager.prototype.requestPlayerHistory = function(maestroID, date, listener) {
|
||||
DBConnectManager.prototype.requestPlayerHistory = function(date, listener) {
|
||||
var historyRecordManager = new HistoryRecordManager();
|
||||
|
||||
/*
|
||||
@@ -225,8 +225,8 @@ DBConnectManager.prototype.requestPlayerHistory = function(maestroID, date, list
|
||||
|
||||
if(replyJSON != null)
|
||||
listener(self.parseJSONtoHistoryRecord(replyJSON));
|
||||
else
|
||||
onFailedListener(replyJSON);
|
||||
// else
|
||||
// onFailedListener(replyJSON);
|
||||
}
|
||||
};
|
||||
var params = "MaestroID=" + sessionStorageManager.getMaestroID()
|
||||
|
||||
Reference in New Issue
Block a user