]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/window/FileBrowser.js
FileBrowser: support 'virtual'/'v' file type
[proxmox-widget-toolkit.git] / src / window / FileBrowser.js
index e90b7179f5797d105df687c89b8a3325706fc7d5..d138d1be9fd555e882faa7f126946ea6d4303626 100644 (file)
@@ -36,6 +36,9 @@ Ext.define('proxmox-file-tree', {
                    case 's': // socket
                        icon = 'plug';
                        break;
+                   case 'v': // virtual
+                       icon = 'cube';
+                       break;
                    default:
                        icon = 'file-o';
                        break;
@@ -217,6 +220,7 @@ Ext.define("Proxmox.window.FileBrowser", {
                            case 'l': return gettext('Softlink');
                            case 'p': return gettext('Pipe/Fifo');
                            case 's': return gettext('Socket');
+                           case 'v': return gettext('Virtual');
                            default: return Proxmox.Utils.unknownText;
                        }
                    },