~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/modules/facility/templates/_infobar.php

  • Committer: Usman Akeju
  • Date: 2011-05-21 20:26:40 UTC
  • mto: (1.26.1 push-trunk) (7.1.1 mayon)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: usman.akeju@mail.cuny.edu-20110521202640-wb4xdirgv3lprjmi
- more import batching + event polling work

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
    var xmlHttp = new XMLHttpRequest();
7
7
    var async = false;
8
 
    xmlHttp.open("GET", "<?php echo url_for('facility/poll'); ?>", async);
 
8
    xmlHttp.open("GET", "<?php echo url_for('global/status.json'/*'facility/poll'*/); ?>", async);
9
9
    if(async)
10
10
    {
11
11
      xmlHttp.onreadystatechange = function()