mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-03 01:02:24 +02:00
Fix domain id getting set to empty when adding place name
This commit is contained in:
parent
b990b4f3e0
commit
b1fe3699f9
1 changed files with 2 additions and 1 deletions
|
@ -299,6 +299,7 @@ function chooseFromHighFidelityPlaces(accessToken, forcePathTo, onSuccessfullyAd
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If domainID is not specified, the current domain id will be used.
|
||||||
function finishSettingUpPlace(domainID) {
|
function finishSettingUpPlace(domainID) {
|
||||||
sendUpdatePlaceRequest(
|
sendUpdatePlaceRequest(
|
||||||
placeID,
|
placeID,
|
||||||
|
@ -306,9 +307,9 @@ function chooseFromHighFidelityPlaces(accessToken, forcePathTo, onSuccessfullyAd
|
||||||
domainID,
|
domainID,
|
||||||
false,
|
false,
|
||||||
function(data) {
|
function(data) {
|
||||||
$(Settings.DOMAIN_ID_SELECTOR).val(domainID).change();
|
|
||||||
dialog.modal('hide')
|
dialog.modal('hide')
|
||||||
if (domainID) {
|
if (domainID) {
|
||||||
|
$(Settings.DOMAIN_ID_SELECTOR).val(domainID).change();
|
||||||
finalizeSaveDomainID(domainID);
|
finalizeSaveDomainID(domainID);
|
||||||
} else {
|
} else {
|
||||||
if (onSuccessfullyAdded) {
|
if (onSuccessfullyAdded) {
|
||||||
|
|
Loading…
Reference in a new issue