Build uri by default

This commit is contained in:
Dennis Eichhorn 2016-03-25 15:33:31 +01:00
parent 78ee0b0e9c
commit c188acc02f

View File

@ -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)) {