mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-21 06:08:40 +00:00
Added setRootPath
This commit is contained in:
parent
70fba3147d
commit
278c35d7d2
|
|
@ -185,6 +185,12 @@
|
|||
// todo: needs + rootPath at the end but how to define? maybe look at inline js uri is defined there?!
|
||||
this.base = this.scheme + '://' + this.host;
|
||||
};
|
||||
|
||||
jsOMS.Uri.Http.prototype.setRootPath = function(rootPath)
|
||||
{
|
||||
this.root = rootPath;
|
||||
this.set(this.uri);
|
||||
};
|
||||
|
||||
jsOMS.Uri.Http.prototype.getBase = function()
|
||||
{
|
||||
|
|
@ -235,4 +241,4 @@
|
|||
{
|
||||
return this.path;
|
||||
}
|
||||
}(window.jsOMS = window.jsOMS || {}));
|
||||
}(window.jsOMS = window.jsOMS || {}));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user