Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7418aa26
authored
8 years ago
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add loading icon and disable start button after click
closes #467
parent
ab26a51e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
circle/dashboard/static/dashboard/vm-create.js
+1
-0
No files found.
circle/dashboard/static/dashboard/vm-create.js
View file @
7418aa26
...
@@ -37,6 +37,7 @@ function vmCreateLoaded() {
...
@@ -37,6 +37,7 @@ function vmCreateLoaded() {
/* start vm button clicks */
/* start vm button clicks */
$
(
'.vm-create-start'
).
click
(
function
()
{
$
(
'.vm-create-start'
).
click
(
function
()
{
$
(
this
).
prop
(
"disabled"
,
true
).
find
(
"i"
).
prop
(
"class"
,
"fa fa-spinner fa-spin"
);
template
=
$
(
this
).
data
(
"template-pk"
);
template
=
$
(
this
).
data
(
"template-pk"
);
$
.
ajax
({
$
.
ajax
({
url
:
'/dashboard/vm/create/'
,
url
:
'/dashboard/vm/create/'
,
...
...
This diff is collapsed.
Click to expand it.
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