Brian Federle 314a6361a1 bug 12475
Implement preAction handler for list view/detail view actions. If the
function returns false, then do not proceed further on the action. It
is specified like this:

actions: {
  ...
  preAction: function(args) {
    cloudStack.dialog.notice({ message: "You can't do that!" });

    return false;
  },

  action: function(args) { ... },
  ...
}

It currently passes in the standard args.context that you would get
with a standard action; note that this currently does not support
async server calls, so try to use current state data as much as
possible.
2011-12-12 10:45:08 -08:00
..
2011-12-12 10:45:08 -08:00
2011-12-12 10:21:43 -08:00
2011-12-09 15:34:45 -08:00
2011-12-09 15:22:09 -08:00
2011-12-02 15:39:28 -08:00
2011-12-05 16:38:00 -08:00
2011-12-07 15:46:08 -08:00
2011-12-09 15:22:09 -08:00
2011-12-09 08:04:23 -08:00