mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58: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.data = {};
|
||||
|
||||
|
||||
|
||||
|
||||
this.xhr = new XMLHttpRequest();
|
||||
};
|
||||
|
|
@ -274,7 +274,7 @@
|
|||
let self = this;
|
||||
|
||||
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) {
|
||||
if (this.requestHeader.hasOwnProperty(p)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user