Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ops
jumpserver
Commits
7213c5c6
Commit
7213c5c6
authored
9 years ago
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(log_online.html): log kill bug
change $.ajax to $.get
parent
d0ba0503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
log_online.html
templates/jlog/log_online.html
+4
-7
No files found.
templates/jlog/log_online.html
View file @
7213c5c6
...
@@ -213,14 +213,11 @@
...
@@ -213,14 +213,11 @@
if
(
login_type
==
'web'
){
if
(
login_type
==
'web'
){
var
g_url
=
'{{ web_kill_uri }}'
+
'?id='
+
num
;
var
g_url
=
'{{ web_kill_uri }}'
+
'?id='
+
num
;
}
else
{
}
else
{
var
g_url
=
"{% url 'log_kill' %}
}
?id="
+
num
;
var
g_url
=
"{% url 'log_kill' %}?id="
+
num
;
}
}
$
.
get
(
g_url
+
"&sessionid={{ session_id }}"
,
function
()
{
$
.
ajax
({
window
.
open
(
"{% url 'log_list' 'online' %}"
,
"_self"
)
type
:
"GET"
,
})
url
:
g_url
+
"&sessionid={{ session_id }}"
,
success
:
window
.
open
(
"{% url 'log_list' 'online' %}"
,
"_self"
)
});
}
}
</script>
</script>
...
...
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