Commit ceac8764 authored by Tyf0x's avatar Tyf0x

** Updated the clearSelection method to use deselectall() **

parent 872c3abe
......@@ -735,20 +735,9 @@
*
*/
clearSelection: function () {
var selected = this.getSelected();
if (selected.length) {
var arry = [];
for (var i = 0; i < selected.length; i = i + 1) {
arry.push(selected[i].value);
}
this.deselect(arry);
this.$select.change();
}
this.deselectall(false);
this.updateButtonText();
this.updateSelectAll();
},
/**
......
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