make lint happy
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 13 Jun 2013 10:38:58 +0000 (12:38 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 13 Jun 2013 10:38:58 +0000 (12:38 +0200)
www/manager/qemu/HDMove.js
www/manager/qemu/HardwareView.js

index 79f94e9..2951cc9 100644 (file)
@@ -7,7 +7,7 @@ Ext.define('PVE.window.HDMove', {
     move_disk: function(disk, storage, format, delete_disk) {
        var me = this;
 
-        params =  { disk: disk, storage: storage };
+        var params =  { disk: disk, storage: storage };
 
         if (format) {
             params.format = format;
@@ -15,7 +15,7 @@ Ext.define('PVE.window.HDMove', {
        
        if (delete_disk) {
            params['delete'] = 1;
-       };
+       }
 
        PVE.Utils.API2Request({
            params: params,
@@ -56,8 +56,7 @@ Ext.define('PVE.window.HDMove', {
                 fieldLabel: 'Disk',
                 vtype: 'StorageId',
                 allowBlank: false
-            },
-
+            }
         ];
 
         me.hdstoragesel = Ext.create('PVE.form.StorageSelector', {
index 4de9cc6..b3dea91 100644 (file)
@@ -294,7 +294,7 @@ Ext.define('PVE.qemu.HardwareView', {
                    return false;
                }
                var rowdef = rows[rec.data.key];
-               return rowdef.tdCls == 'pve-itype-icon-storage' && !rec.data.value.match(/media=cdrom/)
+               return rowdef.tdCls == 'pve-itype-icon-storage' && !rec.data.value.match(/media=cdrom/);
            },
            handler: run_move
        });