diff --git a/js/stdb.js b/js/stdb.js
index d0871c5..70c1841 100644
--- a/js/stdb.js
+++ b/js/stdb.js
@@ -129,7 +129,9 @@ function getDataStat(respone){
function getData(respone) {
// console.log(dataInstrument)
- // console.log(respone)
+ console.log(respone)
+ console.log("---------------- Next")
+ console.log(respone.next)
// console.log(respone.results)
console.log(dataInstrument)
dataInstrument = dataInstrument.concat(respone.results)
@@ -192,7 +194,7 @@ function getData(respone) {
tagMiniImage = tagMiniImage
+''
+'
ไม่มีรูปภาพ
';
- }
+ }
}
else{
console.log('*********** < 2 ***********')
@@ -253,12 +255,19 @@ function getData(respone) {
+'';
}
if(respone.next != null){
+ nextUrl = ''
+ moreText = ''
moreText = ""
+"
More
"
+"";
nextUrl = respone.next
document.getElementById("more").innerHTML = moreText;
- }
+ }
+ else{
+ nextUrl = ''
+ moreText = ''
+ document.getElementById("more").innerHTML = moreText;
+ }
start = dataInstrument.length
document.getElementById("modalAll").innerHTML = document.getElementById("modalAll").innerHTML+modalText