--- a/htdocs/scripts/xo.js 2010-05-22 10:33:22.000000000 +0200
+++ b/htdocs/scripts/xo.js 2010-05-29 17:08:05.000000000 +0200
@@ -277,7 +277,7 @@
//alert('here: '+this.name+'('+wId+')');
this.window.setHTMLContent('
');
- var staticContent = render_vm(this.id,wId,this.state,this.kernel,this.vcpus,this.d_min_ram,date,actions,this.on_shutdown,this.on_reboot,this.on_crash,this.domid,this.console1,this.weight,this.cap,targets);
+ var staticContent = render_vm(this.id,wId,this.state,this.kernel,this.vcpus,this.d_min_ram,date,actions,this.on_shutdown,this.on_reboot,this.on_crash,this.domid,this.console1,this.name,this.weight,this.cap,targets);
// fill the content with correct data from render_vm
$('vm_' + wId).update(staticContent);
$('vm_' + wId).innerHTML;
--- a/htdocs/scripts/xorender.js 2010-05-22 10:22:13.000000000 +0200
+++ b/htdocs/scripts/xorender.js 2010-05-29 17:09:18.000000000 +0200
@@ -4,7 +4,7 @@
* @param TODO
*/
function render_vm(id,html_id,state,kernel,vcpus,d_min_ram,date,actions,
- on_shutdown,on_reboot,on_crash,domid,console1,weight,cap,targets)
+ on_shutdown,on_reboot,on_crash,domid,console1,vm_name,weight,cap,targets)
{
var html = '