fix proxmox 2.0 web interface error in internet explorer and firefox

chenliliang

New Member
Nov 1, 2011
4
0
1
The proxmox 2.0 web interface display blank pages while you are using Internet Explorer and firefox (On my notebook,the web gui just working on chrome.)
So I debug the gui and found the error of pvemanagerlib.js (/usr/share/pve-manager/ext4/pvemanagerlib.js)
In line 6974
Code:
  Ext.apply(me, {
            title: "Migrate KVM " + vmid,
            width: 350,
            modal: true,
            layout: 'auto',
            border: false,
            items: [ me.formPanel ],
            buttons: [ submitBtn ],
        });
remove the "," in the line "buttons: [ submitBtn ],"

and in line 7050
Code:
itemId: 'migrate',
                    text: 'Migrate',
                    handler: function() {
                        var win = Ext.create('PVE.qemu.Migrate', {
                            pveSelNode: me.pveSelNode,
                        });
                        win.show();
                    }
remove the "," of the line ""pveSelNode: me.pveSelNode,"

save that,then the web gui would be working on IE9
That'all.
 
it would be working on the latest Firefox and chrome,but cloud not working with IE9 ,so I fixed this issue.
For myself,I am using firefox 3.*
I hate any soft updated day by day.