[pve-devel] [PATCH manager] fix ceph tabs switching

Dietmar Maurer dietmar at proxmox.com
Tue Apr 12 17:28:58 CEST 2016


> when switching from one node to another, the activate event
> is not fired on the ceph tabs, so start the store update with afterrender

I am confused now, because Emmanuel told me
that afterrender does not work, and he removed the code
we had inside the panel/Config.js panel:

	    listeners: {
		afterrender: function(tp) {
		    var first =  tp.items.get(0);
		    if (first) {
			first.fireEvent('show', first);
		    }
		},

We replaced that generated 'show' event everywhere with 'activate'.

Or are those Ceph tabs special in any way?




More information about the pve-devel mailing list