mirror of https://github.com/apache/cloudstack.git
Remove call to listConfigurations -- not supported by non-admins
This commit is contained in:
parent
55c817ad62
commit
1fd8f41ca5
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue