feature #3748: Use XML_ROOT in vms panel

This commit is contained in:
Daniel Molina committed 2015-05-19 19:02:12 +02:00
1 parent d402fc6372
commit b1e5afbbd1
1 file changed
+4 -3
@@ -11,8 +11,9 @@ define(function(require){
*/
var PANEL_ID = require('./vms/panelId');
var IMAGES_TABLE_ID = PANEL_ID + "VMsTable"
var RESOURCE = "Host"
var IMAGES_TABLE_ID = PANEL_ID + "VMsTable";
var RESOURCE = "Host";
var XML_ROOT = "HOST";
/*
CONSTRUCTOR
@@ -22,7 +23,7 @@ define(function(require){
this.title = Locale.tr("VMs");
this.icon = "fa-cloud";
this.element = info[RESOURCE.toUpperCase()];
this.element = info[XML_ROOT];
// TODO this.vmsDataTable = new VMsTable(IMAGES_TABLE_ID, {info: true});
return this;