Commit 3cc19cf1 authored by Dietmar Maurer's avatar Dietmar Maurer

make jslint happy

parent 5f9b97d7
...@@ -80,7 +80,7 @@ Ext.define('PVE.node.Summary', { ...@@ -80,7 +80,7 @@ Ext.define('PVE.node.Summary', {
var statusview = Ext.create('PVE.node.StatusView', { var statusview = Ext.create('PVE.node.StatusView', {
title: 'Status', title: 'Status',
pveSelNode: me.pveSelNode, pveSelNode: me.pveSelNode,
style: 'padding-top:0px', style: { 'padding-top': '0px' },
rstore: rstore rstore: rstore
}); });
...@@ -98,7 +98,7 @@ Ext.define('PVE.node.Summary', { ...@@ -98,7 +98,7 @@ Ext.define('PVE.node.Summary', {
bodyStyle: 'padding:10px', bodyStyle: 'padding:10px',
defaults: { defaults: {
width: 800, width: 800,
style: 'padding-top:10px' style: { 'padding-top': '10px' }
}, },
tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ], tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
items: [ items: [
......
...@@ -9,6 +9,7 @@ Ext.define('PVE.qemu.DisplayEdit', { ...@@ -9,6 +9,7 @@ Ext.define('PVE.qemu.DisplayEdit', {
var displayField; var displayField;
var validateDisplay = function() { var validateDisplay = function() {
/*jslint confusion: true */
var val = displayField.getValue(); var val = displayField.getValue();
if (me.vmconfig && val.match(/^serial\d+$/)) { if (me.vmconfig && val.match(/^serial\d+$/)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment