From 1fd8f41ca5c88c5e5d263c19bc05fbdd5e378e1b Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 7 Nov 2011 17:08:34 -0800 Subject: [PATCH] Remove call to listConfigurations -- not supported by non-admins --- ui/scripts/cloudStack.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js index 9ca4d75821b..8b3e1f54916 100644 --- a/ui/scripts/cloudStack.js +++ b/ui/scripts/cloudStack.js @@ -140,19 +140,8 @@ }); // Get project configuration - $.ajax({ - url: createURL('listConfigurations'), - data: { - name: 'project.invite.required' - }, - async: false, - dataType: 'json', - success: function(data) { - window.g_projectsInviteRequired = false; - window.g_projectsInviteRequired = data.listconfigurationsresponse.configuration[0].value == "true" ? - true : false; - } - }); + // TEMPORARY -- replace w/ output of capability response, etc., once implemented + window.g_projectsInviteRequired = false; }, error: function() { args.response.error();