Commit 1b2ad3b1 authored by Mathieu Giraud's avatar Mathieu Giraud

list.js: 'hide', hiding some clones

See #2227.
parent 525bf1ad
......@@ -782,6 +782,18 @@ List.prototype = {
$("#filter_input").val("(focus on some clones)")
this.m.update()
},
/**
* hide selected clones
* */
hide: function () {
var list = this.m.getSelected();
for (var i=0; i < list.length; i++) {
this.m.clone(list[i]).isFiltered = true
}
$("#filter_input").val("(focus on some clones)")
this.m.update()
},
/**
* sort clone list by size (reorder html elements in the clone list/ no rebuild)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment