Example use for preAction

This commit is contained in:
bfederle 2011-12-20 15:43:08 -08:00
parent 13b704081d
commit 3f848a4556

View File

@ -377,6 +377,13 @@
},
resetPassword: {
label: 'Reset password',
preAction: function(args) {
cloudStack.dialog.notice({
message: 'You cannot reset your password.'
});
return false;
},
action: function(args) {
args.response.success({});
},