Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
5da64e5f
Commit
5da64e5f
authored
Feb 15, 2012
by
Nicolas Dandrimont
🤔
Browse files
A click on the QA "visibility" header toggles the +
parent
3992e34c
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/public/debexpo.js
View file @
5da64e5f
...
@@ -65,7 +65,7 @@ $(document).ready(function() {
...
@@ -65,7 +65,7 @@ $(document).ready(function() {
/* General stuff */
/* General stuff */
$
(
'
.confirm
'
).
click
(
function
(){
$
(
'
.confirm
'
).
click
(
function
(){
var
answer
=
confirm
(
'
Are you sure?
'
);
var
answer
=
confirm
(
'
Are you sure?
'
);
return
answer
// answer is a boolean
return
answer
});
});
/* QA plugin stuff */
/* QA plugin stuff */
...
@@ -75,7 +75,7 @@ $(document).ready(function() {
...
@@ -75,7 +75,7 @@ $(document).ready(function() {
});
});
$
(
"
.visibility
"
).
click
(
function
()
{
$
(
"
.visibility
"
).
click
(
function
()
{
toggle_qa
(
this
,
"
fast
"
);
toggle_qa
(
$
(
this
).
siblings
(
"
.qa-header
"
)
,
"
fast
"
);
});
});
$
(
"
.severity-info .qa-header
"
).
each
(
function
()
{
$
(
"
.severity-info .qa-header
"
).
each
(
function
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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