Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
354a7570
Commit
354a7570
authored
Aug 18, 2010
by
Clément OUDOT
Browse files
Delete session from tree of sessions explorer when we click on the delet button (#63)
parent
164ff62b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/lemonldap-ng-manager/example/skins/default/sessions.js
View file @
354a7570
...
...
@@ -20,6 +20,9 @@ function del(id) {
dataType
:
'
html
'
,
success
:
function
(
data
){
$
(
'
#data
'
).
html
(
data
);
// Delete session from tree
$
(
'
#uid
'
+
id
).
remove
();
$
(
'
#ip
'
+
id
).
remove
();
},
error
:
function
(
xhr
,
ajaxOptions
,
thrownError
){
$
(
'
#data
'
).
html
(
'
<h3>Request failed</h3> Error code:
'
+
xhr
.
status
+
'
,
'
+
thrownError
);
...
...
Write
Preview
Supports
Markdown
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