Skip to content

Commit 4a0a2fb

Browse files
committed
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.
1 parent c094c1a commit 4a0a2fb

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

‎ui/scripts/ui-custom/projects.js‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -420,32 +420,6 @@
420420
} : {
421421
account: { label: 'Invited Accounts'}
422422
},
423-
actions: !cloudStack.projects.requireInvitation() ? {
424-
destroy: {
425-
label: 'Remove account from project',
426-
action: {
427-
custom: function(args) {
428-
var $instanceRow = args.$instanceRow;
429-
430-
$instanceRow.animate({ opacity: 0.5 });
431-
432-
cloudStack.projects.addUserForm.actions.destroy.action({
433-
context: $.extend(true, {}, cloudStack.context, {
434-
projects: [project],
435-
multiRule: [{
436-
username: $instanceRow.find('td.username span').html()
437-
}]
438-
}),
439-
response: {
440-
success: function(args) {
441-
$instanceRow.remove();
442-
}
443-
}
444-
});
445-
}
446-
}
447-
}
448-
} : {},
449423
dataProvider: function(args) {
450424
setTimeout(function() {
451425
args.response.success({

0 commit comments

Comments
 (0)