1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

feature #3748: Fix element context

This commit is contained in:
Daniel Molina 2015-06-08 16:56:56 +02:00
parent 3c3aa820f9
commit 27f93848ab

View File

@ -57,7 +57,7 @@ define(function(require) {
var stateStr = OpenNebulaVM.stateStr(this.element.STATE);
var lcmStateStr = OpenNebulaVM.lcmStateStr(this.element.LCM_STATE);
var hostname = OpenNebulaVM.hostnameStr(element);
var hostname = OpenNebulaVM.hostnameStr(this.element);
var deployId = (typeof(this.element.DEPLOY_ID) == "object" ? "-" : this.element.DEPLOY_ID);
var resched = (parseInt(this.element.RESCHED) ? Locale.tr("yes") : Locale.tr("no"))
@ -110,7 +110,6 @@ define(function(require) {
}
})
var templateTableHTML = TemplateTable.html(
strippedTemplate, RESOURCE, this.element.ID, context, unshownValues);
TemplateTable.setup(strippedTemplate, RESOURCE, this.element.ID, context, unshownValues);
}
});