]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
copy LanguageSelector.js from manager to manager5
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Apr 2015 09:55:47 +0000 (11:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Apr 2015 09:55:47 +0000 (11:55 +0200)
www/manager5/form/LanguageSelector.js [new file with mode: 0644]

diff --git a/www/manager5/form/LanguageSelector.js b/www/manager5/form/LanguageSelector.js
new file mode 100644 (file)
index 0000000..9d4ca4c
--- /dev/null
@@ -0,0 +1,10 @@
+Ext.define('PVE.form.LanguageSelector', {
+    extend: 'PVE.form.KVComboBox',
+    alias: ['widget.pveLanguageSelector'],
+  
+    initComponent: function() {
+       var me = this;
+       me.data = PVE.Utils.language_array();
+       me.callParent();
+    }
+});