Browse Source

0.0.5.22.6

master
racha.non 9 years ago
parent
commit
228aef8486
  1. 11
      js/stdb.js

11
js/stdb.js

@ -129,7 +129,9 @@ function getDataStat(respone){
function getData(respone) { function getData(respone) {
// console.log(dataInstrument) // console.log(dataInstrument)
// console.log(respone) console.log(respone)
console.log("---------------- Next")
console.log(respone.next)
// console.log(respone.results) // console.log(respone.results)
console.log(dataInstrument) console.log(dataInstrument)
dataInstrument = dataInstrument.concat(respone.results) dataInstrument = dataInstrument.concat(respone.results)
@ -253,12 +255,19 @@ function getData(respone) {
+'</div>'; +'</div>';
} }
if(respone.next != null){ if(respone.next != null){
nextUrl = ''
moreText = ''
moreText = "<div class='cardStyle flexCenter' style='margin-bottom:10px;height:60px;background-color: #E0E0E0;' onClick='getNextUrl()'>" moreText = "<div class='cardStyle flexCenter' style='margin-bottom:10px;height:60px;background-color: #E0E0E0;' onClick='getNextUrl()'>"
+"<h4>More</h4>" +"<h4>More</h4>"
+"</div>"; +"</div>";
nextUrl = respone.next nextUrl = respone.next
document.getElementById("more").innerHTML = moreText; document.getElementById("more").innerHTML = moreText;
} }
else{
nextUrl = ''
moreText = ''
document.getElementById("more").innerHTML = moreText;
}
start = dataInstrument.length start = dataInstrument.length
document.getElementById("modalAll").innerHTML = document.getElementById("modalAll").innerHTML+modalText document.getElementById("modalAll").innerHTML = document.getElementById("modalAll").innerHTML+modalText

Loading…
Cancel
Save