mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-22 11:54:36 +02:00
Fix ajax api-get-text
This commit is contained in:
parent
5e2eaa5578
commit
699ffc1302
1 changed files with 9 additions and 8 deletions
|
@ -130,14 +130,15 @@
|
|||
|
||||
function apiGetText(){
|
||||
var el = listAttApi[posAttApi];
|
||||
$.get(el.getAttribute('api-get-text'), function(data) {
|
||||
el.innerHTML = data;
|
||||
posAttApi++;
|
||||
if(posAttApi < listAttApi.length){
|
||||
apiGetText();
|
||||
}
|
||||
});
|
||||
|
||||
if(el != undefined){
|
||||
$.get(el.getAttribute('api-get-text'), function(data) {
|
||||
el.innerHTML = data;
|
||||
posAttApi++;
|
||||
if(posAttApi < listAttApi.length){
|
||||
apiGetText();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function setKolaps() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue