Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
1bd413d6
Commit
1bd413d6
authored
Mar 06, 2015
by
Marc Duez
Browse files
list.js : cleaning
parent
36ae3c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/list.js
View file @
1bd413d6
...
...
@@ -176,21 +176,7 @@ List.prototype = {
a_unsplit
.
onclick
=
function
()
{
self
.
m
.
split_all
(
false
)
}
/*
var a_sortV = document.createElement('a')
a_sortV.className = "button"
a_sortV.appendChild(document.createTextNode("V sort"))
a_sortV.onclick = function () {
self.sortListByV()
}
var a_sortJ = document.createElement('a')
a_sortJ.className = "button"
a_sortJ.appendChild(document.createTextNode("J sort"))
a_sortJ.onclick = function () {
self.sortListByJ()
}
*/
var
filter_label
=
document
.
createElement
(
'
span
'
)
filter_label
.
appendChild
(
document
.
createTextNode
(
"
search
"
))
...
...
@@ -236,7 +222,6 @@ List.prototype = {
self
.
sortListByJ
()
break
;
}
}
var
sort_option
=
document
.
createElement
(
"
option
"
);
...
...
@@ -259,14 +244,10 @@ List.prototype = {
div_list_menu
.
appendChild
(
a_split
)
div_list_menu
.
appendChild
(
a_unsplit
)
/*
div_list_menu.appendChild(a_sortV)
div_list_menu.appendChild(a_sortJ)
*/
div_list_menu
.
appendChild
(
filter_label
)
div_list_menu
.
appendChild
(
filter_input
)
div_list_menu
.
appendChild
(
filter_reset
)
//div_list_menu.appendChild(a_sort)
div_list_menu
.
appendChild
(
sort_span
)
return
div_list_menu
...
...
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