]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
make jslint happy
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Aug 2013 08:40:58 +0000 (10:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Aug 2013 08:40:58 +0000 (10:40 +0200)
www/manager/node/Summary.js
www/manager/qemu/DisplayEdit.js

index 2f4ede15c43ff8357c8296ccb21e1c4ba890f5ad..8de1eaad870c022296302da8b83501715d6e7021 100644 (file)
@@ -80,7 +80,7 @@ Ext.define('PVE.node.Summary', {
        var statusview = Ext.create('PVE.node.StatusView', {
            title: 'Status',
            pveSelNode: me.pveSelNode,
-           style: 'padding-top:0px',
+           style: { 'padding-top': '0px' },
            rstore: rstore
        });
 
@@ -98,7 +98,7 @@ Ext.define('PVE.node.Summary', {
            bodyStyle: 'padding:10px',
            defaults: {
                width: 800,
-               style: 'padding-top:10px'
+               style: { 'padding-top': '10px' }
            },          
            tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
            items: [
index fbe2a1e96c6faa34af2bf92915715f5cc852c11c..fb9223f1ad93da1e63e076eb229e657d24d384f9 100644 (file)
@@ -9,6 +9,7 @@ Ext.define('PVE.qemu.DisplayEdit', {
        var displayField;
 
        var validateDisplay = function() {
+           /*jslint confusion: true */
            var val = displayField.getValue();
 
            if (me.vmconfig && val.match(/^serial\d+$/)) {