Bug Tracker

Ticket #2842: 2842-ajax_undefiend_url.diff

File 2842-ajax_undefiend_url.diff, 360 bytes (added by Morgan, 5 months ago)

add default url

  • src/ajax.js

     
    157157            json: "application/json, text/javascript", 
    158158            text: "text/plain", 
    159159            _default: "*/*" 
    160         } 
     160        }, 
     161        url:  document.location.href 
    161162    }, 
    162163 
    163164    // Last-Modified header cache for next request