Commit cd3753f6 authored by Dietmar Maurer's avatar Dietmar Maurer

use better class names for NotesView/NotesEdit

parent 95855a83
...@@ -45,6 +45,8 @@ JSSRC= \ ...@@ -45,6 +45,8 @@ JSSRC= \
window/LoginWindow.js \ window/LoginWindow.js \
window/TaskViewer.js \ window/TaskViewer.js \
window/Wizard.js \ window/Wizard.js \
window/NotesEdit.js \
panel/NotesView.js \
grid/SelectFeature.js \ grid/SelectFeature.js \
grid/ObjectGrid.js \ grid/ObjectGrid.js \
grid/ResourceGrid.js \ grid/ResourceGrid.js \
...@@ -73,8 +75,6 @@ JSSRC= \ ...@@ -73,8 +75,6 @@ JSSRC= \
qemu/CDEdit.js \ qemu/CDEdit.js \
qemu/HDEdit.js \ qemu/HDEdit.js \
qemu/DisplayEdit.js \ qemu/DisplayEdit.js \
qemu/NotesEdit.js \
qemu/NotesView.js \
qemu/KeyboardEdit.js \ qemu/KeyboardEdit.js \
qemu/HardwareView.js \ qemu/HardwareView.js \
qemu/Options.js \ qemu/Options.js \
......
...@@ -134,7 +134,7 @@ Ext.define('PVE.openvz.Summary', { ...@@ -134,7 +134,7 @@ Ext.define('PVE.openvz.Summary', {
tbar.down('#remove').setDisabled(status !== 'stopped'); tbar.down('#remove').setDisabled(status !== 'stopped');
}); });
var notesview = Ext.create('PVE.qemu.NotesView', { var notesview = Ext.create('PVE.panel.NotesView', {
pveSelNode: me.pveSelNode, pveSelNode: me.pveSelNode,
flex: 1 flex: 1
}); });
......
Ext.define('PVE.qemu.NotesView', { Ext.define('PVE.panel.NotesView', {
extend: 'Ext.panel.Panel', extend: 'Ext.panel.Panel',
load: function() { load: function() {
...@@ -50,7 +50,7 @@ Ext.define('PVE.qemu.NotesView', { ...@@ -50,7 +50,7 @@ Ext.define('PVE.qemu.NotesView', {
listeners: { listeners: {
render: function(c) { render: function(c) {
c.el.on('dblclick', function() { c.el.on('dblclick', function() {
var win = Ext.create('PVE.qemu.NotesEdit', { var win = Ext.create('PVE.window.NotesEdit', {
pveSelNode: me.pveSelNode, pveSelNode: me.pveSelNode,
url: me.url url: me.url
}); });
......
...@@ -158,7 +158,7 @@ Ext.define('PVE.qemu.Summary', { ...@@ -158,7 +158,7 @@ Ext.define('PVE.qemu.Summary', {
tbar.down('#remove').setDisabled(status !== 'stopped'); tbar.down('#remove').setDisabled(status !== 'stopped');
}); });
var notesview = Ext.create('PVE.qemu.NotesView', { var notesview = Ext.create('PVE.panel.NotesView', {
pveSelNode: me.pveSelNode, pveSelNode: me.pveSelNode,
flex: 1 flex: 1
}); });
......
Ext.define('PVE.qemu.NotesEdit', { Ext.define('PVE.window.NotesEdit', {
extend: 'PVE.window.Edit', extend: 'PVE.window.Edit',
initComponent : function() { initComponent : function() {
......
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