Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
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
038f663e
authored
Dec 04, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: js fixes
parent
226d2b8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
circle/dashboard/static/dashboard/activity.js
+1
-1
circle/dashboard/static/dashboard/vm-create.js
+1
-3
No files found.
circle/dashboard/static/dashboard/activity.js
View file @
038f663e
...
...
@@ -48,7 +48,7 @@ $(function() {
});
/* if the operation fails show the modal again */
$
(
"body"
).
on
(
"click"
,
"#op-form-send"
,
function
()
{
$
(
"body"
).
on
(
"click"
,
"#
confirmation-modal #
op-form-send"
,
function
()
{
var
url
=
$
(
this
).
closest
(
"form"
).
prop
(
"action"
);
$
.
ajax
({
...
...
circle/dashboard/static/dashboard/vm-create.js
View file @
038f663e
...
...
@@ -211,7 +211,7 @@ function vmCustomizeLoaded() {
});
/* start vm button clicks */
$
(
'#vm-create-customized-start'
).
click
(
function
()
{
$
(
'#
confirmation-modal #
vm-create-customized-start'
).
click
(
function
()
{
var
error
=
false
;
$
(
".cpu-count-input, .ram-input, #id_name, #id_amount "
).
each
(
function
()
{
if
(
!
$
(
this
)[
0
].
checkValidity
())
{
...
...
@@ -222,8 +222,6 @@ function vmCustomizeLoaded() {
$
(
this
).
find
(
"i"
).
prop
(
"class"
,
"fa fa-spinner fa-spin"
);
if
(
$
(
"#confirmation-modal"
))
return
true
;
$
.
ajax
({
url
:
'/dashboard/vm/create/'
,
headers
:
{
"X-CSRFToken"
:
getCookie
(
'csrftoken'
)},
...
...
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