Fix: show / hide AnimalRecordList, TabLayout

This commit is contained in:
2019-08-06 19:22:46 +09:00
parent 56f7d1a03a
commit a8728cc6bf
11 changed files with 534 additions and 43 deletions
+18
View File
@@ -375,3 +375,21 @@ DBService.prototype.parseJSONtoRankingRecord = function(type, jsonData) {
// menu
DBService.prototype.requestMainMenuAppData = function(onSucceededListener, onFailedListener) {
var xhr = this.makeXhr(
"php/writing/player_list.php",
(function() { // onreadystatechange
if(xhr.readyState == 4 && xhr.status == 200) {
var replyJSON = JSON.parse(xhr.responseText);
if(replyJSON != null)
onSucceededListener(replyJSON);
else
onFailedListener(replyJSON);
}
}).bind(this)
);
xhr.send("maestroID=" + this.maestroID + "&playerID=" + this.playerID);
}