mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
initialize wbo records' uri property correctly
This commit is contained in:
parent
a3d9640e3c
commit
c5ae81c609
@ -55,10 +55,11 @@ WBORecord.prototype = {
|
|||||||
_logName: "Record.WBO",
|
_logName: "Record.WBO",
|
||||||
|
|
||||||
_WBORec_init: function WBORec_init(uri) {
|
_WBORec_init: function WBORec_init(uri) {
|
||||||
this.baseUri = (typeof(uri) == "string")? Utils.makeURI(uri) : uri;
|
|
||||||
this.data = {
|
this.data = {
|
||||||
payload: {}
|
payload: {}
|
||||||
};
|
};
|
||||||
|
if (uri)
|
||||||
|
this.uri = uri;
|
||||||
},
|
},
|
||||||
|
|
||||||
get id() { return decodeURI(this.data.id); },
|
get id() { return decodeURI(this.data.id); },
|
||||||
|
Loading…
Reference in New Issue
Block a user