]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
copy window/NotesEdit.js from manager to manager5
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jul 2015 09:29:11 +0000 (11:29 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jul 2015 09:29:11 +0000 (11:29 +0200)
www/manager5/window/NotesEdit.js [new file with mode: 0644]

diff --git a/www/manager5/window/NotesEdit.js b/www/manager5/window/NotesEdit.js
new file mode 100644 (file)
index 0000000..650b196
--- /dev/null
@@ -0,0 +1,24 @@
+Ext.define('PVE.window.NotesEdit', {
+    extend: 'PVE.window.Edit',
+
+    initComponent : function() {
+       var me = this;
+
+       Ext.apply(me, {
+           title: gettext('Notes'),
+           width: 600,
+           layout: 'fit',
+           items: {
+               xtype: 'textarea',
+               name: 'description',
+               rows: 7,
+               value: '',
+               hideLabel: true
+           }
+       });
+
+       me.callParent();
+
+       me.load();
+    }
+});