Changeset 3688

Show
Ignore:
Timestamp:
07/03/07 00:29:32 (1 year ago)
Author:
timothy
Message:

Code to defeat any caching or proxies.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js

    r3687 r3688  
    11Colloquy = {}; 
     2 
     3Colloquy.nextOrderIdentifier = 1; 
    24 
    35Colloquy.loaded = function(event) 
     
    1921        setTimeout(function() { window.scrollTo(0, 1) }, 100); 
    2022 
    21         new Ajax.Request( "/command/setup?overrideStyle=info.colloquy.style.xml", { 
     23        new Ajax.Request( "/command/setup?overrideStyle=info.colloquy.style.xml&uinque=" + Math.round(Math.random() * 1000000), { 
    2224                method: "get", 
    2325                onSuccess: function( transport ) { 
     
    237239 
    238240ChatController.checkActivity = function() { 
    239         new Ajax.Request( "/command/checkActivity", { 
     241        new Ajax.Request( "/command/checkActivity?order=" + Colloquy.nextOrderIdentifier++ + "&uinque=" + Math.round(Math.random() * 1000000), { 
    240242                method: "get", 
    241243                onSuccess: function( transport ) { 
     
    474476        if( ! html.length ) return; 
    475477 
    476         new Ajax.Request( "/command/send?panel=" + this.id, { 
     478        new Ajax.Request( "/command/send?panel=" + this.id + "&order=" + Colloquy.nextOrderIdentifier++ + "&uinque=" + Math.round(Math.random() * 1000000), { 
    477479                method: "post", 
    478480                contentType: "text/html",