diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index b4da09b2281..716dedac954 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -295,24 +295,26 @@ ); // Check for pending project invitations - cloudStack.projects.invitationCheck({ - context: cloudStack.context, - response: { - success: function(args) { - if (!args.data.length) return; - - var projectList = $.map(args.data, function(invitation) { - return '
' + _l('message.pending.projects.2') + '
' - }); + cloudStack.dialog.notice({ + message: _l('message.pending.projects.1') + + '' + _l('message.pending.projects.2') + '
' + }); + } } - } - }); + }); + } // Hide logo conditionally if (!args.hasLogo) $('#header .controls').addClass('nologo');