]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/ClusterAdministration.js
fix #4137: display receiver in attachment/virus quarantine
[pmg-gui.git] / js / ClusterAdministration.js
index deea786194b350d3753411857a7a6411f243e075..105b2a69873a08e8df60606248bc7d222026275c 100644 (file)
@@ -105,8 +105,6 @@ Ext.define('PMG.ClusterAddNodeWindow', {
     ],
 });
 
-/*jslint confusion: true*/
-/* bind is a function and object */
 Ext.define('PMG.ClusterAdministration', {
     extend: 'Ext.tab.Panel',
     xtype: 'pmgClusterAdministration',
@@ -172,7 +170,6 @@ Ext.define('PMG.ClusterAdministration', {
                },
 
                onJoin: function() {
-                   var view = this.getView();
                    var win = Ext.create('PMG.ClusterJoinNodeWindow', {});
                    win.show();
                    win.on('destroy', function() {
@@ -258,7 +255,7 @@ Ext.define('PMG.ClusterAdministration', {
                            var html = '<p>' + Ext.htmlEncode(d.conn_error) + '</p>';
                            html = html.replace(/\n/g, '<br>');
                            metaData.tdAttr = 'data-qwidth=600 data-qtitle="ERROR" data-qtip="' +
-                               html.replace(/\"/g, '&quot;') + '"';
+                               html.replace(/"/g, '&quot;') + '"';
                            state = 'error';
                        }
                        return state;