]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/VirusQuarantineOptions.js
BackupRestore.js - add timestamp column
[pmg-gui.git] / js / VirusQuarantineOptions.js
index 6c35b3670c5f372f0a5b19e88db7d33d73267c09..839a62e029e3f2652795977d6682c7ee9709044c 100644 (file)
@@ -26,12 +26,12 @@ Ext.define('PMG.VirusQuarantineOptions', {
                text: gettext('Edit'),
                xtype: 'proxmoxButton',
                disabled: true,
-               handler: function() { me.run_editor() },
+               handler: function() { me.run_editor(); },
                selModel: me.selModel
            }],
            url: '/api2/json' + baseurl,
            editorConfig: {
-               url: '/api2/extjs' + baseurl,
+               url: '/api2/extjs' + baseurl
            },
            interval: 5000,
            cwidth1: 200,
@@ -44,5 +44,6 @@ Ext.define('PMG.VirusQuarantineOptions', {
 
        me.on('activate', me.rstore.startUpdate);
        me.on('destroy', me.rstore.stopUpdate);
+       me.on('deactivate', me.rstore.stopUpdate);
     }
 });