From 1e4eaed7fdd6b4910831e87125d5011a0e9b6a26 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 17 Oct 2014 12:25:23 -0700 Subject: [PATCH] don't show domain ID selection button if in master config --- domain-server/resources/web/js/settings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/domain-server/resources/web/js/settings.js b/domain-server/resources/web/js/settings.js index 2c81a93ca8..21a4d99977 100644 --- a/domain-server/resources/web/js/settings.js +++ b/domain-server/resources/web/js/settings.js @@ -204,7 +204,10 @@ function reloadSettings() { title: 'This setting is in the master config file and cannot be changed' }) - appendDomainSelectionModal() + if (!_.has(data["locked"], "metaverse") && !_.has(data["locked"]["metaverse"], "id")) { + // append the domain selection modal, as long as it's not locked + appendDomainSelectionModal() + } }); }