mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Projects: add project UI fix
Remove actions column from 'Review' users list view -- this was having buggy behavior due to widget limitations. User can still add/remove afterwards by going to project detail view.
This commit is contained in:
parent
c094c1a6db
commit
4a0a2fbf8e
@ -420,32 +420,6 @@
|
||||
} : {
|
||||
account: { label: 'Invited Accounts'}
|
||||
},
|
||||
actions: !cloudStack.projects.requireInvitation() ? {
|
||||
destroy: {
|
||||
label: 'Remove account from project',
|
||||
action: {
|
||||
custom: function(args) {
|
||||
var $instanceRow = args.$instanceRow;
|
||||
|
||||
$instanceRow.animate({ opacity: 0.5 });
|
||||
|
||||
cloudStack.projects.addUserForm.actions.destroy.action({
|
||||
context: $.extend(true, {}, cloudStack.context, {
|
||||
projects: [project],
|
||||
multiRule: [{
|
||||
username: $instanceRow.find('td.username span').html()
|
||||
}]
|
||||
}),
|
||||
response: {
|
||||
success: function(args) {
|
||||
$instanceRow.remove();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
} : {},
|
||||
dataProvider: function(args) {
|
||||
setTimeout(function() {
|
||||
args.response.success({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user