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
27f2e10f
Commit
27f2e10f
authored
Sep 14, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use new TaskProgress feature
parent
1c753859
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Snapshot.js
www/manager/qemu/Snapshot.js
+3
-4
SnapshotTree.js
www/manager/qemu/SnapshotTree.js
+5
-0
No files found.
www/manager/qemu/Snapshot.js
View file @
27f2e10f
...
...
@@ -9,6 +9,7 @@ Ext.define('PVE.window.Snapshot', {
if
(
descr
)
{
params
.
description
=
descr
;
}
PVE
.
Utils
.
API2Request
({
params
:
params
,
url
:
'
/nodes/
'
+
me
.
nodename
+
'
/qemu/
'
+
me
.
vmid
+
"
/snapshot
"
,
...
...
@@ -19,10 +20,8 @@ Ext.define('PVE.window.Snapshot', {
},
success
:
function
(
response
,
options
)
{
var
upid
=
response
.
result
.
data
;
// we do not show task viewer for now
//var win = Ext.create('PVE.window.TaskViewer', { upid: upid });
//win.show();
var
win
=
Ext
.
create
(
'
PVE.window.TaskProgress
'
,
{
upid
:
upid
});
win
.
show
();
me
.
close
();
}
});
...
...
www/manager/qemu/SnapshotTree.js
View file @
27f2e10f
...
...
@@ -146,6 +146,11 @@ Ext.define('PVE.qemu.SnapshotTree', {
},
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
gettext
(
'
Error
'
),
response
.
htmlStatus
);
},
success
:
function
(
response
,
options
)
{
var
upid
=
response
.
result
.
data
;
var
win
=
Ext
.
create
(
'
PVE.window.TaskProgress
'
,
{
upid
:
upid
});
win
.
show
();
}
});
}
...
...
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