mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
Bug #4414: Remove USER_INPUTS from VM attributes in Sunstone
This commit is contained in:
parent
8f91353278
commit
78fd310153
@ -82,15 +82,16 @@ define(function(require) {
|
||||
var that = this;
|
||||
var strippedTemplate = {};
|
||||
var unshownValues = {};
|
||||
$.each(that.element.USER_TEMPLATE, function(key, value) {
|
||||
if (!key.match(/^SCHED_*/)) {
|
||||
strippedTemplate[key] = value;
|
||||
} else {
|
||||
unshownValues[key] = value;
|
||||
}
|
||||
})
|
||||
|
||||
var templateTableHTML = TemplateTable.html(strippedTemplate, RESOURCE, Locale.tr("Attributes"), unshownValues);
|
||||
$.each(that.element.USER_TEMPLATE, function(key, value) {
|
||||
if (key.match(/^SCHED_*/) || key == "USER_INPUTS") {
|
||||
unshownValues[key] = value;
|
||||
} else {
|
||||
strippedTemplate[key] = value;
|
||||
}
|
||||
});
|
||||
|
||||
var templateTableHTML = TemplateTable.html(strippedTemplate, RESOURCE, Locale.tr("Attributes"));
|
||||
|
||||
var monitoring = $.extend({}, this.element.MONITORING);
|
||||
delete monitoring.CPU;
|
||||
|
Loading…
x
Reference in New Issue
Block a user