Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
b263f59c
Commit
b263f59c
authored
Jan 30, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix folder view
parent
996d34c3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Workspace.js
www/manager/Workspace.js
+3
-3
ConfigPanel.js
www/manager/panel/ConfigPanel.js
+5
-1
No files found.
www/manager/Workspace.js
View file @
b263f59c
...
@@ -180,12 +180,12 @@ Ext.define('PVE.StdWorkspace', {
...
@@ -180,12 +180,12 @@ Ext.define('PVE.StdWorkspace', {
cont
.
removeAll
(
true
);
cont
.
removeAll
(
true
);
if
(
comp
)
{
if
(
comp
)
{
cont
.
setLoading
(
false
);
PVE
.
Utils
.
setErrorMask
(
cont
,
false
);
comp
.
border
=
false
;
comp
.
border
=
false
;
cont
.
add
(
comp
);
cont
.
add
(
comp
);
cont
.
doLayout
();
cont
.
doLayout
();
}
else
{
}
else
{
cont
.
setLoading
(
'
nothing selected
'
);
PVE
.
Utils
.
setErrorMask
(
cont
,
'
nothing selected
'
);
}
}
},
},
...
@@ -252,7 +252,7 @@ Ext.define('PVE.StdWorkspace', {
...
@@ -252,7 +252,7 @@ Ext.define('PVE.StdWorkspace', {
var
n
=
selected
[
0
];
var
n
=
selected
[
0
];
comp
=
{
comp
=
{
xtype
:
tlckup
[
n
.
data
.
type
||
'
root
'
]
||
xtype
:
tlckup
[
n
.
data
.
type
||
'
root
'
]
||
'
PVE.panel.
Config
'
,
'
pvePanel
Config
'
,
layout
:
{
type
:
'
fit
'
},
layout
:
{
type
:
'
fit
'
},
showSearch
:
(
n
.
data
.
id
===
'
root
'
)
||
showSearch
:
(
n
.
data
.
id
===
'
root
'
)
||
Ext
.
isDefined
(
n
.
data
.
groupbyid
),
Ext
.
isDefined
(
n
.
data
.
groupbyid
),
...
...
www/manager/panel/ConfigPanel.js
View file @
b263f59c
Ext
.
define
(
'
PVE.panel.Config
'
,
{
Ext
.
define
(
'
PVE.panel.Config
'
,
{
extend
:
'
Ext.panel.Panel
'
,
extend
:
'
Ext.panel.Panel
'
,
alias
:
'
widget.pvePanelConfig
'
,
initComponent
:
function
()
{
initComponent
:
function
()
{
var
me
=
this
;
var
me
=
this
;
...
@@ -62,7 +63,10 @@ Ext.define('PVE.panel.Config', {
...
@@ -62,7 +63,10 @@ Ext.define('PVE.panel.Config', {
items
:
items
,
items
:
items
,
listeners
:
{
listeners
:
{
afterrender
:
function
(
tp
)
{
afterrender
:
function
(
tp
)
{
tp
.
items
.
get
(
0
).
fireEvent
(
'
show
'
,
tp
.
items
.
get
(
0
));
var
first
=
tp
.
items
.
get
(
0
);
if
(
first
)
{
first
.
fireEvent
(
'
show
'
,
first
);
}
},
},
tabchange
:
function
(
tp
,
newcard
,
oldcard
)
{
tabchange
:
function
(
tp
,
newcard
,
oldcard
)
{
var
ntab
=
newcard
.
itemId
;
var
ntab
=
newcard
.
itemId
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment