mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
cleanup
This commit is contained in:
parent
8ebab88613
commit
c6b2697b44
2 changed files with 2 additions and 3 deletions
|
@ -980,7 +980,6 @@ Rectangle {
|
||||||
xhr.open("GET", url);
|
xhr.open("GET", url);
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if (xhr.readyState == XMLHttpRequest.DONE) {
|
if (xhr.readyState == XMLHttpRequest.DONE) {
|
||||||
console.log(xhr.responseText);
|
|
||||||
licenseText.text = xhr.responseText;
|
licenseText.text = xhr.responseText;
|
||||||
licenseInfo.visible = true;
|
licenseInfo.visible = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
onDescriptionChanged: {
|
onDescriptionChanged: {
|
||||||
|
|
||||||
if(root.supports3DHTML) {
|
if(root.supports3DHTML) {
|
||||||
descriptionTextModel.clear();
|
descriptionTextModel.clear();
|
||||||
descriptionTextModel.append({text: description});
|
descriptionTextModel.append({text: description});
|
||||||
|
@ -271,7 +271,7 @@ Rectangle {
|
||||||
buttonGlyph: (enabled && !isUpdate && (price > 0)) ? hifi.glyphs.hfc : ""
|
buttonGlyph: (enabled && !isUpdate && (price > 0)) ? hifi.glyphs.hfc : ""
|
||||||
text: isUpdate ? "UPDATE FOR FREE" : (isStocking ? "FREE STOCK" : (enabled ? (price || "FREE") : availability))
|
text: isUpdate ? "UPDATE FOR FREE" : (isStocking ? "FREE STOCK" : (enabled ? (price || "FREE") : availability))
|
||||||
color: hifi.buttons.blue
|
color: hifi.buttons.blue
|
||||||
|
|
||||||
onClicked: root.buy();
|
onClicked: root.buy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue