includes/clientside/static/ajax.js
changeset 650 e45183014778
parent 592 27377179fe58
child 651 ce9d78d7251d
equal deleted inserted replaced
649:74e03196fd43 650:e45183014778
  1052     return false;
  1052     return false;
  1053   }
  1053   }
  1054   var target = document.getElementById(targetelement);
  1054   var target = document.getElementById(targetelement);
  1055   target.innerHTML = '';
  1055   target.innerHTML = '';
  1056   var img = document.createElement('img');
  1056   var img = document.createElement('img');
  1057   img.src = scriptPath + '/images/loading.gif';
  1057   img.src = cdnPath + '/images/loading.gif';
  1058   img.alt = 'Loading...';
  1058   img.alt = 'Loading...';
  1059   target.appendChild(img);
  1059   target.appendChild(img);
  1060   ajaxGet(makeUrlNS('Admin', 'Home/updates.xml'), function()
  1060   ajaxGet(makeUrlNS('Admin', 'Home/updates.xml'), function()
  1061     {
  1061     {
  1062       if ( ajax.readyState == 4 && ajax.status == 200 )
  1062       if ( ajax.readyState == 4 && ajax.status == 200 )