Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ce74d490
authored
Feb 27, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-extra-buttons' into 'master'
Feature Extra Buttons
parents
2fc3ff12
edbd31ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
circle/dashboard/static/dashboard/vm-common.js
+5
-1
No files found.
circle/dashboard/static/dashboard/vm-common.js
View file @
ce74d490
...
@@ -4,11 +4,15 @@ $(function() {
...
@@ -4,11 +4,15 @@ $(function() {
/* vm migrate */
/* vm migrate */
$
(
'.vm-migrate'
).
click
(
function
(
e
)
{
$
(
'.vm-migrate'
).
click
(
function
(
e
)
{
var
icon
=
$
(
this
).
children
(
"i"
);
var
vm
=
$
(
this
).
data
(
"vm-pk"
);
var
vm
=
$
(
this
).
data
(
"vm-pk"
);
icon
.
removeClass
(
"icon-truck"
).
addClass
(
"icon-spinner icon-spin"
);
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/dashboard/vm/'
+
vm
+
'/migrate/'
,
url
:
'/dashboard/vm/'
+
vm
+
'/migrate/'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
icon
.
addClass
(
"icon-truck"
).
removeClass
(
"icon-spinner icon-spin"
);
$
(
'body'
).
append
(
data
);
$
(
'body'
).
append
(
data
);
$
(
'#create-modal'
).
modal
(
'show'
);
$
(
'#create-modal'
).
modal
(
'show'
);
$
(
'#create-modal'
).
on
(
'hidden.bs.modal'
,
function
()
{
$
(
'#create-modal'
).
on
(
'hidden.bs.modal'
,
function
()
{
...
...
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