]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/VirusQuarantineOptions.js
bump version to 1.0-31
[pmg-gui.git] / js / VirusQuarantineOptions.js
index 695d3555222b0337dde98a5010c0a707fd9ddd8d..839a62e029e3f2652795977d6682c7ee9709044c 100644 (file)
@@ -2,6 +2,8 @@ Ext.define('PMG.VirusQuarantineOptions', {
     extend: 'Proxmox.grid.ObjectGrid',
     alias: ['widget.pmgVirusQuarantineOptions'],
 
+    monStoreErrors: true,
+
     initComponent : function() {
        var me = this;
 
@@ -24,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,
@@ -42,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);
     }
 });