mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 16:38:39 +00:00
Build uri by default
This commit is contained in:
parent
78ee0b0e9c
commit
c188acc02f
|
|
@ -25,7 +25,7 @@
|
||||||
this.type = typeof type !== 'undefined' ? type : 'json';
|
this.type = typeof type !== 'undefined' ? type : 'json';
|
||||||
this.data = {};
|
this.data = {};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.xhr = new XMLHttpRequest();
|
this.xhr = new XMLHttpRequest();
|
||||||
};
|
};
|
||||||
|
|
@ -274,7 +274,7 @@
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
||||||
if (self.xhr.readyState !== 1) {
|
if (self.xhr.readyState !== 1) {
|
||||||
self.xhr.open(this.method, this.uri);
|
self.xhr.open(this.method, jsOMS.UriFactory.build(this.uri));
|
||||||
|
|
||||||
for (let p in this.requestHeader) {
|
for (let p in this.requestHeader) {
|
||||||
if (this.requestHeader.hasOwnProperty(p)) {
|
if (this.requestHeader.hasOwnProperty(p)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user