Add: menu_list.php
This commit is contained in:
@@ -376,9 +376,9 @@ DBService.prototype.parseJSONtoRankingRecord = function(type, jsonData) {
|
||||
|
||||
|
||||
// menu
|
||||
DBService.prototype.requestMainMenuAppData = function(onSucceededListener, onFailedListener) {
|
||||
DBService.prototype.requestMainMenuAppData = function(appGroup, language, onSucceededListener, onFailedListener) {
|
||||
var xhr = this.makeXhr(
|
||||
"php/writing/player_list.php",
|
||||
"php/menu/menu_list.php",
|
||||
(function() { // onreadystatechange
|
||||
if(xhr.readyState == 4 && xhr.status == 200) {
|
||||
var replyJSON = JSON.parse(xhr.responseText);
|
||||
@@ -390,6 +390,11 @@ DBService.prototype.requestMainMenuAppData = function(onSucceededListener, onFai
|
||||
}
|
||||
}).bind(this)
|
||||
);
|
||||
xhr.send("maestroID=" + this.maestroID + "&playerID=" + this.playerID);
|
||||
xhr.send(
|
||||
"maestroID=" + this.maestroID
|
||||
+ "&playerID=" + this.playerID
|
||||
+ "&appGroup=" + appGroup
|
||||
+ "&language=" + language
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user