Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
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
2c4dfe47
authored
Mar 13, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: update activity when opening the activity tab
parent
7402e399
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
circle/dashboard/static/dashboard/dashboard.js
+2
-0
circle/dashboard/static/dashboard/vm-details.js
+0
-1
No files found.
circle/dashboard/static/dashboard/dashboard.js
View file @
2c4dfe47
...
...
@@ -66,6 +66,8 @@ $(function () {
if
(
window
.
location
.
hash
)
{
if
(
window
.
location
.
hash
.
substring
(
1
,
4
)
==
"ipv"
)
$
(
"a[href=#network]"
).
tab
(
'show'
);
if
(
window
.
location
.
hash
==
"activity"
)
checkNewActivity
(
false
,
1
);
$
(
"a[href="
+
window
.
location
.
hash
+
"]"
).
tab
(
'show'
);
}
...
...
circle/dashboard/static/dashboard/vm-details.js
View file @
2c4dfe47
...
...
@@ -209,7 +209,6 @@ function checkNewActivity(only_state, runs) {
url
:
'/dashboard/vm/'
+
instance
+
'/activity/'
,
data
:
{
'only_state'
:
only_state
},
success
:
function
(
data
)
{
console
.
log
(
data
[
'activities'
]);
if
(
!
only_state
)
{
$
(
"#activity-timeline"
).
html
(
data
[
'activities'
]);
$
(
"[title]"
).
tooltip
();
...
...
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