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
f9bc8d19
Commit
f9bc8d19
authored
Sep 13, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debug message
parent
a454cbd7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
Snapshot.js
www/manager/qemu/Snapshot.js
+23
-0
SnapshotTree.js
www/manager/qemu/SnapshotTree.js
+0
-1
No files found.
www/manager/qemu/Snapshot.js
View file @
f9bc8d19
...
@@ -140,5 +140,28 @@ Ext.define('PVE.window.Snapshot', {
...
@@ -140,5 +140,28 @@ Ext.define('PVE.window.Snapshot', {
});
});
me
.
callParent
();
me
.
callParent
();
if
(
!
me
.
snapname
)
{
return
;
}
// else load data
PVE
.
Utils
.
API2Request
({
url
:
'
/nodes/
'
+
me
.
nodename
+
'
/qemu/
'
+
me
.
vmid
+
"
/snapshot/
"
+
me
.
snapname
+
'
/config
'
,
waitMsgTarget
:
me
,
method
:
'
GET
'
,
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
'
Error
'
,
response
.
htmlStatus
);
me
.
close
();
},
success
:
function
(
response
,
options
)
{
var
data
=
response
.
result
.
data
;
console
.
dir
(
data
);
}
});
}
}
});
});
www/manager/qemu/SnapshotTree.js
View file @
f9bc8d19
...
@@ -17,7 +17,6 @@ Ext.define('PVE.qemu.SnapshotTree', {
...
@@ -17,7 +17,6 @@ Ext.define('PVE.qemu.SnapshotTree', {
return
-
1
;
return
-
1
;
}
}
console
.
log
(
"
SORT
"
+
v1
+
"
"
+
v2
);
return
(
v1
>
v2
?
1
:
(
v1
<
v2
?
-
1
:
0
));
return
(
v1
>
v2
?
1
:
(
v1
<
v2
?
-
1
:
0
));
},
},
...
...
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