mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
Bug #4414: Remove USER_INPUTS from VM attributes in Sunstone
This commit is contained in:
1 parent
8f91353278
commit
78fd310153
1 file changed
+9
-8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user