mirror of https://github.com/apache/cloudstack.git
Support actions which point to an external link, primary to support
launching the console proxy.
Example:
listView: {
actions: {
viewConsole: {
label: 'label.view.console',
action: {
externalLink: {
url: function(args) {
return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
},
title: function(args) {
return args.context.vpcTierInstances[0].id.substr(0,8);
},
width: 820,
height: 640
}
}
}
}
}
|
||
|---|---|---|
| .. | ||
| widgets | ||
| core.js | ||
| dialog.js | ||
| events.js | ||
| utils.js | ||