app/soc/content/js/slot-allocator.js
changeset 1952 7c97323fd20b
parent 1747 02f15a955c42
equal deleted inserted replaced
1951:921069bcc6e1 1952:7c97323fd20b
    37     updateOverlay();
    37     updateOverlay();
    38   }
    38   }
    39 }
    39 }
    40 
    40 
    41 function retrieveJSON() {
    41 function retrieveJSON() {
    42   $.getJSON(RETURN_URL+"?_="+(new Date().getTime()),
    42   $.getJSON(RETURN_URL+"?_="+(new Date().getTime()), function(data) {
    43     updateFromJSON
    43     if (data) {
       
    44       updateFromJSON(data);
       
    45     }
       
    46   }
    44   );
    47   );
    45 }
    48 }
    46 
    49 
    47 function reCalculate() {
    50 function reCalculate() {
    48   url = RETURN_URL+"?_="+(new Date().getTime())
    51   url = RETURN_URL+"?_="+(new Date().getTime())