mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io> Co-authored-by: Jorge Lobo <jlobo@opennebula.systems> (cherry picked from commit 3c3b237fd47ae7626c01316ae57734733b890920)
This commit is contained in:
parent
08bfe6f003
commit
d2baba6ff7
@ -483,7 +483,14 @@ define(function(require) {
|
||||
usersDatatable: that.usersTable.dataTableHTML,
|
||||
groupDatatable: that.groupTable.dataTableHTML,
|
||||
table_sched_actions: ScheduleActions.htmlTable(RESOURCE, Leases.html())
|
||||
}) );
|
||||
}
|
||||
)
|
||||
);
|
||||
var objLeases = $.extend(true, {}, that);
|
||||
objLeases.formContext = templatesContext;
|
||||
objLeases.resource = "template";
|
||||
objLeases.__proto__ = FormPanel.prototype;
|
||||
Leases.actions(objLeases);
|
||||
|
||||
$(".provision_host_selector" + template_json.VMTEMPLATE.ID, context).data("hostsTable", that.hostsTable);
|
||||
$(".provision_ds_selector" + template_json.VMTEMPLATE.ID, context).data("dsTable", that.datastoresTable);
|
||||
|
@ -52,7 +52,7 @@ define(function(require) {
|
||||
config.system_config.leases &&
|
||||
(config.system_config.leases.suspense || config.system_config.leases.terminate)
|
||||
){
|
||||
return $("<button />", {class: classButton}).append(
|
||||
return $("<button />", {class: classButton, type:"button"}).append(
|
||||
$("<i/>", {class: 'fa fa-clock'})
|
||||
).prop('outerHTML');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user