Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
ec2619f5
Commit
ec2619f5
authored
Nov 18, 2011
by
Baptiste Jonglez
Browse files
[fix] javascript bug when filtering by country directly by url
parent
82dcb3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/list.html
View file @
ec2619f5
...
...
@@ -21,10 +21,12 @@
<script
type=
"text/javascript"
src=
"{%media_url%}/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
{
%
if
countrycolors
%
}
var
data
=
{{
countrycolors
|
safe
}};
for
(
key
in
data
)
{
$
(
'
#
'
+
key
+
'
path
'
).
css
(
'
fill
'
,
data
[
key
]);
}
{
%
endif
%
}
$
(
"
#sortedlist
"
).
tablesorter
({
headers
:
{
8
:
{
sorter
:
false
},},
sortList
:
[[
1
,
0
],[
7
,
1
]],
...
...
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