Commit cd3753f6 authored by Dietmar Maurer's avatar Dietmar Maurer

use better class names for NotesView/NotesEdit

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