tbrehm
2008-06-14 c467861466a4f9e35d03cb7ff1beca0b08d2cc33
interface/web/js/scrigo.js
@@ -46,6 +46,9 @@
            loadContent(parts[1]);
            //redirect = parts[1];
            //window.setTimeout('loadContent(redirect)', 1000);
         } else if (o.responseText.indexOf('LOGIN_REDIRECT:') > -1) {
            // Go to the login page
            document.location.href = 'index.php';
         } else {
            document.getElementById('pageContent').innerHTML = o.responseText;
         }
@@ -241,8 +244,8 @@
      alert('Sorry. There was an error.');
   }
   
   function del_record(link) {
  if(window.confirm("<tmpl_var name='delete_confirmation'>")) {
function del_record(link,confirmation) {
  if(window.confirm(confirmation)) {
          loadContent(link);
  }
}